de.fhhannover.inform.trust.ifmapj.exception
Enum IfmapErrorCode

java.lang.Object
  extended by java.lang.Enum<IfmapErrorCode>
      extended by de.fhhannover.inform.trust.ifmapj.exception.IfmapErrorCode
All Implemented Interfaces:
Serializable, Comparable<IfmapErrorCode>

public enum IfmapErrorCode
extends Enum<IfmapErrorCode>

Possible values used for the errorCode attribute in the ErrorResultType. This was taken from the irond implementation.

Author:
aw

Enum Constant Summary
AccessDenied
           
Failure
           
IdentifierTooLong
           
InvalidIdentifier
           
InvalidIdentifierType
           
InvalidMetadata
           
InvalidSchemaVersion
           
InvalidSessionID
           
MetadataTooLong
           
PollResultsTooBig
           
SearchResultsTooBig
           
SystemError
           
 
Method Summary
static IfmapErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IfmapErrorCode[] 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

AccessDenied

public static final IfmapErrorCode AccessDenied

Failure

public static final IfmapErrorCode Failure

InvalidIdentifier

public static final IfmapErrorCode InvalidIdentifier

InvalidIdentifierType

public static final IfmapErrorCode InvalidIdentifierType

IdentifierTooLong

public static final IfmapErrorCode IdentifierTooLong

InvalidMetadata

public static final IfmapErrorCode InvalidMetadata

InvalidSchemaVersion

public static final IfmapErrorCode InvalidSchemaVersion

InvalidSessionID

public static final IfmapErrorCode InvalidSessionID

MetadataTooLong

public static final IfmapErrorCode MetadataTooLong

SearchResultsTooBig

public static final IfmapErrorCode SearchResultsTooBig

PollResultsTooBig

public static final IfmapErrorCode PollResultsTooBig

SystemError

public static final IfmapErrorCode SystemError
Method Detail

values

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

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

valueOf

public static IfmapErrorCode 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 © 2012 Trust@FHH. All Rights Reserved.