com.ingenta.clownbike
Class ClownbikeError

java.lang.Object
  extended bycom.ingenta.clownbike.ClownbikeError

public class ClownbikeError
extends java.lang.Object


Field Summary
static int ACCEPTED
           
static int BAD_GATEWAY
           
static int BAD_REQUEST
           
static int CONFLICT
           
static int CREATED
           
static int GATEWAY_TIME_OUT
           
static int GONE
           
static int HTTP_VERSION_NOT_SUPPORTED
           
static int LENGTH_REQUIRED
           
static int METHOD_NOT_ALLOWED
           
static int MOVED_PERMANENTLY
           
static int MOVED_TEMPORARILY
           
static int MULTIPLE_CHOICES
           
static int NO_CONTENT
           
static int NON_AUTHORITATIVE_INFORMATION
           
static int NOT_ACCEPTABLE
           
static int NOT_FOUND
           
static int NOT_IMPLEMENTED
           
static int NOT_MODIFIED
           
static int OK
           
static int OUT_OF_RESOURCES
           
static int PARTIAL_CONTENT
           
static int PAYMENT_REQUIRED
           
static int PRECONDITION_FAILED
           
static int PROXY_AUTHENTICATION_REQUIRED
           
static int REQUEST_ENTITY_TOO_LARGE
           
static int REQUEST_TIME_OUT
           
static int REQUEST_URL_TOO_LARGE
           
static int RESET_CONTENT
           
static int SEE_OTHER
           
static int SERVER_ERROR
           
static int SWITCHING_PROTOCOLS
           
static int UNAUTHORIZED
           
static int UNSUPPORTED_MEDIA_TYPE
           
static int USE_PROXY
           
 
Constructor Summary
ClownbikeError(int ticket, int httpStatusCode, java.lang.String message, java.lang.Throwable exception)
           
ClownbikeError(int ticket, java.lang.String message)
           
ClownbikeError(int ticket, java.lang.Throwable exception)
           
 
Method Summary
 java.lang.Throwable getException()
           
 java.lang.String getMessage()
           
 int getStatusCode()
           
 int getTicket()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SWITCHING_PROTOCOLS

public static final int SWITCHING_PROTOCOLS
See Also:
Constant Field Values

OK

public static final int OK
See Also:
Constant Field Values

CREATED

public static final int CREATED
See Also:
Constant Field Values

ACCEPTED

public static final int ACCEPTED
See Also:
Constant Field Values

NON_AUTHORITATIVE_INFORMATION

public static final int NON_AUTHORITATIVE_INFORMATION
See Also:
Constant Field Values

NO_CONTENT

public static final int NO_CONTENT
See Also:
Constant Field Values

RESET_CONTENT

public static final int RESET_CONTENT
See Also:
Constant Field Values

PARTIAL_CONTENT

public static final int PARTIAL_CONTENT
See Also:
Constant Field Values

MULTIPLE_CHOICES

public static final int MULTIPLE_CHOICES
See Also:
Constant Field Values

MOVED_PERMANENTLY

public static final int MOVED_PERMANENTLY
See Also:
Constant Field Values

MOVED_TEMPORARILY

public static final int MOVED_TEMPORARILY
See Also:
Constant Field Values

SEE_OTHER

public static final int SEE_OTHER
See Also:
Constant Field Values

NOT_MODIFIED

public static final int NOT_MODIFIED
See Also:
Constant Field Values

USE_PROXY

public static final int USE_PROXY
See Also:
Constant Field Values

BAD_REQUEST

public static final int BAD_REQUEST
See Also:
Constant Field Values

UNAUTHORIZED

public static final int UNAUTHORIZED
See Also:
Constant Field Values

PAYMENT_REQUIRED

public static final int PAYMENT_REQUIRED
See Also:
Constant Field Values

NOT_FOUND

public static final int NOT_FOUND
See Also:
Constant Field Values

METHOD_NOT_ALLOWED

public static final int METHOD_NOT_ALLOWED
See Also:
Constant Field Values

NOT_ACCEPTABLE

public static final int NOT_ACCEPTABLE
See Also:
Constant Field Values

PROXY_AUTHENTICATION_REQUIRED

public static final int PROXY_AUTHENTICATION_REQUIRED
See Also:
Constant Field Values

REQUEST_TIME_OUT

public static final int REQUEST_TIME_OUT
See Also:
Constant Field Values

CONFLICT

public static final int CONFLICT
See Also:
Constant Field Values

GONE

public static final int GONE
See Also:
Constant Field Values

LENGTH_REQUIRED

public static final int LENGTH_REQUIRED
See Also:
Constant Field Values

PRECONDITION_FAILED

public static final int PRECONDITION_FAILED
See Also:
Constant Field Values

REQUEST_ENTITY_TOO_LARGE

public static final int REQUEST_ENTITY_TOO_LARGE
See Also:
Constant Field Values

REQUEST_URL_TOO_LARGE

public static final int REQUEST_URL_TOO_LARGE
See Also:
Constant Field Values

UNSUPPORTED_MEDIA_TYPE

public static final int UNSUPPORTED_MEDIA_TYPE
See Also:
Constant Field Values

SERVER_ERROR

public static final int SERVER_ERROR
See Also:
Constant Field Values

NOT_IMPLEMENTED

public static final int NOT_IMPLEMENTED
See Also:
Constant Field Values

BAD_GATEWAY

public static final int BAD_GATEWAY
See Also:
Constant Field Values

OUT_OF_RESOURCES

public static final int OUT_OF_RESOURCES
See Also:
Constant Field Values

GATEWAY_TIME_OUT

public static final int GATEWAY_TIME_OUT
See Also:
Constant Field Values

HTTP_VERSION_NOT_SUPPORTED

public static final int HTTP_VERSION_NOT_SUPPORTED
See Also:
Constant Field Values
Constructor Detail

ClownbikeError

public ClownbikeError(int ticket,
                      int httpStatusCode,
                      java.lang.String message,
                      java.lang.Throwable exception)

ClownbikeError

public ClownbikeError(int ticket,
                      java.lang.String message)

ClownbikeError

public ClownbikeError(int ticket,
                      java.lang.Throwable exception)
Method Detail

getMessage

public java.lang.String getMessage()

getStatusCode

public int getStatusCode()

getTicket

public int getTicket()

getException

public java.lang.Throwable getException()

toString

public java.lang.String toString()