com.atlassian.sal.api.net
Class ResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.atlassian.sal.api.net.ResponseException
All Implemented Interfaces:
java.io.Serializable

public class ResponseException
extends java.lang.Exception

This is exception is thrown by Request.execute() and ResponseHandler.handle(Response). Acts as a wrapper for any IOException thrown when executing the request. It also a root of user-defined exceptions thrown in ResponseHandler.handle(Response) method.

Since:
2.0
See Also:
Serialized Form

Constructor Summary
ResponseException()
           
ResponseException(java.lang.String message)
           
ResponseException(java.lang.String message, java.lang.Throwable cause)
           
ResponseException(java.lang.Throwable cause)
           
 
Method Summary
 
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

ResponseException

public ResponseException()

ResponseException

public ResponseException(java.lang.String message,
                         java.lang.Throwable cause)

ResponseException

public ResponseException(java.lang.String message)

ResponseException

public ResponseException(java.lang.Throwable cause)


Copyright © 2009 Atlassian. All Rights Reserved.