Class HttpException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gliffy.api.client.exception.HttpException
All Implemented Interfaces:

public class HttpException
extends java.lang.RuntimeException

Errors with the Http communication. Specific error codes can be found when interrogating the statusCode.

See Also:
Serialized Form

Constructor Summary
HttpException(int statusCode, java.lang.String message)
Method Summary
 int getStatusCode()
          Returns the specific HTTP response code.
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public HttpException(int statusCode,
                     java.lang.String message)
Method Detail


public int getStatusCode()
Returns the specific HTTP response code.

the specific HTTP response code.