core.types
Class ErrorCondition

java.lang.Object
  extended bycore.types.ErrorCondition

public final class ErrorCondition
extends java.lang.Object

Author:
hoela

Field Summary
static ErrorCondition BADREQUEST
           
static ErrorCondition CONFLICT
           
static ErrorCondition FEATURENI
           
static ErrorCondition FORBIDDEN
           
static ErrorCondition GONE
           
static ErrorCondition INTERNAL
           
static ErrorCondition NOACCEPT
           
static ErrorCondition NOALLOW
           
static ErrorCondition NOAUTH
           
 int ord
           
static ErrorCondition PAYMENT
           
static ErrorCondition REDIRECT
           
static ErrorCondition REGISTER
           
static ErrorCondition REMOTE
           
static ErrorCondition RESOURCE
           
static ErrorCondition SERVICE
           
static ErrorCondition SUBSCRIBE
           
static ErrorCondition UNAVAIL
           
static ErrorCondition UNDEFINED
           
static ErrorCondition UNEXPECTED
           
 
Method Summary
static java.util.Enumeration elements()
          Creates an enumeration from all available types.
static ErrorCondition first()
           
 java.lang.String getErrorType()
           
static ErrorCondition last()
           
 ErrorCondition next()
           
 ErrorCondition prev()
           
static int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Method Detail

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