org.openanzo.atom.client
Class AtomClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openanzo.atom.client.AtomClientException
All Implemented Interfaces:
java.io.Serializable, AtomClientConstants

public class AtomClientException
extends java.lang.Exception
implements AtomClientConstants

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.openanzo.atom.client.AtomClientConstants
CACHE_CONTROL_NO_CACHE, CLIENT_ERROR, CONTENT_ATOM_SERVICE_XML, CONTENT_ATOM_XML, CONTENT_JSON, CONTENT_RDF, HEADER_A_IM, HEADER_ACCEPT, HEADER_ALLOW, HEADER_CACHE_CONTROL, HEADER_CONTENT_TYPE, HEADER_ETAG, HEADER_IF_MATCH, HEADER_IF_MODIFIED_SINCE, HEADER_IF_NONE_MATCH, HEADER_IF_UNMODIFIED_SINCE, HTTP_BAD_REQUEST, HTTP_CONFLICT, HTTP_CREATED, HTTP_FORBIDDEN, HTTP_GONE, HTTP_INTERNAL_SERVER_ERROR, HTTP_METHOD_NOT_ALLOWED, HTTP_NOT_AUTHORIZED, HTTP_NOT_FOUND, HTTP_NOT_MODIFIED, HTTP_OK, HTTP_UNSUPPORTED_MEDIA, LINK_REL_ALTERNATE, LINK_REL_COLLECTION, LINK_REL_CONTENT_GRAPH, LINK_REL_EDIT, LINK_REL_EDIT_MEDIA, LINK_REL_FIRST, LINK_REL_HISTORY, LINK_REL_INTROSPECTION, LINK_REL_LAST, LINK_REL_NEXT, LINK_REL_PREVIOUS, LINK_REL_RELATED, LINK_REL_SELF
 
Constructor Summary
AtomClientException(AtomClientResponse<org.apache.abdera.model.Entry> resp, int errorCode, java.lang.String message)
           
AtomClientException(AtomClientResponse<org.apache.abdera.model.Entry> resp, int errorCode, java.lang.String message, java.lang.Throwable cause)
           
AtomClientException(int errorCode)
           
AtomClientException(int errorCode, java.lang.String message)
           
AtomClientException(int errorCode, java.lang.String message, java.lang.Throwable cause)
           
AtomClientException(int errorCode, java.lang.Throwable cause)
           
 
Method Summary
 int getErrorCode()
           
 AtomClientResponse<org.apache.abdera.model.Entry> getResponse()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AtomClientException

public AtomClientException(AtomClientResponse<org.apache.abdera.model.Entry> resp,
                           int errorCode,
                           java.lang.String message,
                           java.lang.Throwable cause)

AtomClientException

public AtomClientException(AtomClientResponse<org.apache.abdera.model.Entry> resp,
                           int errorCode,
                           java.lang.String message)

AtomClientException

public AtomClientException(int errorCode,
                           java.lang.String message,
                           java.lang.Throwable cause)

AtomClientException

public AtomClientException(int errorCode,
                           java.lang.Throwable cause)

AtomClientException

public AtomClientException(int errorCode,
                           java.lang.String message)

AtomClientException

public AtomClientException(int errorCode)
Method Detail

getErrorCode

public int getErrorCode()

getResponse

public AtomClientResponse<org.apache.abdera.model.Entry> getResponse()


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.