com.indexdata.mkjsf.errors
Enum ErrorHelper.ErrorCode

java.lang.Object
  extended by java.lang.Enum<ErrorHelper.ErrorCode>
      extended by com.indexdata.mkjsf.errors.ErrorHelper.ErrorCode
All Implemented Interfaces:
Serializable, Comparable<ErrorHelper.ErrorCode>
Enclosing class:
ErrorHelper

public static enum ErrorHelper.ErrorCode
extends Enum<ErrorHelper.ErrorCode>


Enum Constant Summary
LOCAL_SERVICE_DEF_FILE_NOT_FOUND
           
LOCAL_SETTINGS_FILE_NOT_FOUND
           
MASTERKEY_CONFIG_FILE_NOT_FOUND
           
MISSING_CONTEXT_PARAMETER
           
MISSING_MANDATORY_PROPERTY
           
MISSING_MK2_CONFIG_INIT_PARAMETER
           
NOT_RESOLVED
           
PAZPAR2_404
           
PAZPAR2_ERRORS
           
PAZPAR2_UNEXPECTED_RESPONSE
           
REMOTE_SERVICE_DEF_NOT_FOUND
           
SKIP_SUGGESTIONS
           
 
Method Summary
static ErrorHelper.ErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ErrorHelper.ErrorCode[] 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

PAZPAR2_404

public static final ErrorHelper.ErrorCode PAZPAR2_404

PAZPAR2_UNEXPECTED_RESPONSE

public static final ErrorHelper.ErrorCode PAZPAR2_UNEXPECTED_RESPONSE

PAZPAR2_ERRORS

public static final ErrorHelper.ErrorCode PAZPAR2_ERRORS

LOCAL_SERVICE_DEF_FILE_NOT_FOUND

public static final ErrorHelper.ErrorCode LOCAL_SERVICE_DEF_FILE_NOT_FOUND

REMOTE_SERVICE_DEF_NOT_FOUND

public static final ErrorHelper.ErrorCode REMOTE_SERVICE_DEF_NOT_FOUND

LOCAL_SETTINGS_FILE_NOT_FOUND

public static final ErrorHelper.ErrorCode LOCAL_SETTINGS_FILE_NOT_FOUND

MASTERKEY_CONFIG_FILE_NOT_FOUND

public static final ErrorHelper.ErrorCode MASTERKEY_CONFIG_FILE_NOT_FOUND

MISSING_MANDATORY_PROPERTY

public static final ErrorHelper.ErrorCode MISSING_MANDATORY_PROPERTY

MISSING_MK2_CONFIG_INIT_PARAMETER

public static final ErrorHelper.ErrorCode MISSING_MK2_CONFIG_INIT_PARAMETER

MISSING_CONTEXT_PARAMETER

public static final ErrorHelper.ErrorCode MISSING_CONTEXT_PARAMETER

NOT_RESOLVED

public static final ErrorHelper.ErrorCode NOT_RESOLVED

SKIP_SUGGESTIONS

public static final ErrorHelper.ErrorCode SKIP_SUGGESTIONS
Method Detail

values

public static ErrorHelper.ErrorCode[] 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 (ErrorHelper.ErrorCode c : ErrorHelper.ErrorCode.values())
    System.out.println(c);

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

valueOf

public static ErrorHelper.ErrorCode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013. All Rights Reserved.