core.types
Class ErrorCondition
java.lang.Object
core.types.ErrorCondition
- public final class ErrorCondition
- extends java.lang.Object
- Author:
- hoela
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ord
public final int ord
BADREQUEST
public static final ErrorCondition BADREQUEST
CONFLICT
public static final ErrorCondition CONFLICT
FEATURENI
public static final ErrorCondition FEATURENI
FORBIDDEN
public static final ErrorCondition FORBIDDEN
GONE
public static final ErrorCondition GONE
INTERNAL
public static final ErrorCondition INTERNAL
NOACCEPT
public static final ErrorCondition NOACCEPT
NOALLOW
public static final ErrorCondition NOALLOW
NOAUTH
public static final ErrorCondition NOAUTH
PAYMENT
public static final ErrorCondition PAYMENT
UNAVAIL
public static final ErrorCondition UNAVAIL
REDIRECT
public static final ErrorCondition REDIRECT
REGISTER
public static final ErrorCondition REGISTER
REMOTE
public static final ErrorCondition REMOTE
RESOURCE
public static final ErrorCondition RESOURCE
SERVICE
public static final ErrorCondition SERVICE
SUBSCRIBE
public static final ErrorCondition SUBSCRIBE
UNDEFINED
public static final ErrorCondition UNDEFINED
UNEXPECTED
public static final ErrorCondition UNEXPECTED
elements
public static java.util.Enumeration elements()
- Creates an enumeration from all available types.
- Returns:
- the Enumeration
toString
public java.lang.String toString()
- Returns:
- String representation of this type
getErrorType
public java.lang.String getErrorType()
- Returns:
- Returns the error condition.
size
public static int size()
- Returns:
- Number of types available
first
public static ErrorCondition first()
- Returns:
- first element of an Enumeration of ErrorConditionTypes
last
public static ErrorCondition last()
- Returns:
- last element of an Enumeration of ErrorConditionTypes
prev
public ErrorCondition prev()
- Returns:
- previous element of an Enumeration of ErrorConditionTypes
next
public ErrorCondition next()
- Returns:
- next element of an Enumeration of ErrorConditionTypes