com.vodafone360.people.datatypes
Enum ServerError.ErrorTypes

java.lang.Object
  extended by java.lang.Enum<ServerError.ErrorTypes>
      extended by com.vodafone360.people.datatypes.ServerError.ErrorTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ServerError.ErrorTypes>
Enclosing class:
ServerError

public static enum ServerError.ErrorTypes
extends java.lang.Enum<ServerError.ErrorTypes>

Enumeration of Server error types.


Enum Constant Summary
ACCEPTTCMISSING
           
AUTH_INVALID_CREDENTIALS
           
AUTH_USER_NOT_FOUND
           
COUNTRYINVALID
           
DATEOFBIRTHINVALID
           
EMAILMISSING
           
FULLNAMEMISSING
           
HTTP_TIMEOUT
           
INTERNAL_ERROR
           
INTERNALERROR
           
INVALID_AUTHENTICATION
           
INVALID_KEY
           
INVALID_PARAMETER
           
INVALID_SESSION
           
INVALIDCODE
           
INVALIDUSERNAME
           
LANGUAGEINVALID
           
MOBILEMODELINVALID
           
MOBILEOPERATORINVALID
           
MSISDNDIALCODEINVALID
           
MSISDNINVALID
           
MSISDNMISSING
           
PASSWORDINVALID
           
PASSWORDMISSING
           
REQUEST_TIMEOUT
           
TIMEZONEINVALID
           
TIMEZONEMISSING
           
UNKNOWN
           
USERNAMEBLACKLISTED
           
USERNAMEFORBIDDEN
           
USERNAMEINUSE
           
USERNAMEMISSING
           
 
Method Summary
static ServerError.ErrorTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ServerError.ErrorTypes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REQUEST_TIMEOUT

public static final ServerError.ErrorTypes REQUEST_TIMEOUT

HTTP_TIMEOUT

public static final ServerError.ErrorTypes HTTP_TIMEOUT

AUTH_USER_NOT_FOUND

public static final ServerError.ErrorTypes AUTH_USER_NOT_FOUND

AUTH_INVALID_CREDENTIALS

public static final ServerError.ErrorTypes AUTH_INVALID_CREDENTIALS

INVALID_AUTHENTICATION

public static final ServerError.ErrorTypes INVALID_AUTHENTICATION

INVALID_PARAMETER

public static final ServerError.ErrorTypes INVALID_PARAMETER

INVALID_SESSION

public static final ServerError.ErrorTypes INVALID_SESSION

DATEOFBIRTHINVALID

public static final ServerError.ErrorTypes DATEOFBIRTHINVALID

PASSWORDINVALID

public static final ServerError.ErrorTypes PASSWORDINVALID

INVALIDUSERNAME

public static final ServerError.ErrorTypes INVALIDUSERNAME

USERNAMEINUSE

public static final ServerError.ErrorTypes USERNAMEINUSE

USERNAMEMISSING

public static final ServerError.ErrorTypes USERNAMEMISSING

USERNAMEBLACKLISTED

public static final ServerError.ErrorTypes USERNAMEBLACKLISTED

USERNAMEFORBIDDEN

public static final ServerError.ErrorTypes USERNAMEFORBIDDEN

FULLNAMEMISSING

public static final ServerError.ErrorTypes FULLNAMEMISSING

PASSWORDMISSING

public static final ServerError.ErrorTypes PASSWORDMISSING

ACCEPTTCMISSING

public static final ServerError.ErrorTypes ACCEPTTCMISSING

EMAILMISSING

public static final ServerError.ErrorTypes EMAILMISSING

COUNTRYINVALID

public static final ServerError.ErrorTypes COUNTRYINVALID

MSISDNMISSING

public static final ServerError.ErrorTypes MSISDNMISSING

MSISDNINVALID

public static final ServerError.ErrorTypes MSISDNINVALID

MSISDNDIALCODEINVALID

public static final ServerError.ErrorTypes MSISDNDIALCODEINVALID

TIMEZONEMISSING

public static final ServerError.ErrorTypes TIMEZONEMISSING

TIMEZONEINVALID

public static final ServerError.ErrorTypes TIMEZONEINVALID

MOBILEOPERATORINVALID

public static final ServerError.ErrorTypes MOBILEOPERATORINVALID

MOBILEMODELINVALID

public static final ServerError.ErrorTypes MOBILEMODELINVALID

LANGUAGEINVALID

public static final ServerError.ErrorTypes LANGUAGEINVALID

INTERNALERROR

public static final ServerError.ErrorTypes INTERNALERROR

INTERNAL_ERROR

public static final ServerError.ErrorTypes INTERNAL_ERROR

INVALIDCODE

public static final ServerError.ErrorTypes INVALIDCODE

UNKNOWN

public static final ServerError.ErrorTypes UNKNOWN

INVALID_KEY

public static final ServerError.ErrorTypes INVALID_KEY
Method Detail

values

public static ServerError.ErrorTypes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ServerError.ErrorTypes c : ServerError.ErrorTypes.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ServerError.ErrorTypes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


JavaDoc