org.openspml.v2.util
Class Spml2ExceptionWithResponse

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.openspml.v2.util.Spml2Exception
              extended byorg.openspml.v2.util.Spml2ExceptionWithResponse
All Implemented Interfaces:
java.io.Serializable

public class Spml2ExceptionWithResponse
extends Spml2Exception

Spml2Client.send() throws this because some clients will want to look at the contents of the Response in the exception handler.

See Also:
Serialized Form

Constructor Summary
Spml2ExceptionWithResponse(Response response)
           
Spml2ExceptionWithResponse(java.lang.String message, Response response)
           
Spml2ExceptionWithResponse(java.lang.String message, java.lang.Throwable cause, Response response)
           
Spml2ExceptionWithResponse(java.lang.Throwable cause, Response response)
           
 
Method Summary
 Response 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Spml2ExceptionWithResponse

public Spml2ExceptionWithResponse(Response response)

Spml2ExceptionWithResponse

public Spml2ExceptionWithResponse(java.lang.String message,
                                  Response response)

Spml2ExceptionWithResponse

public Spml2ExceptionWithResponse(java.lang.Throwable cause,
                                  Response response)

Spml2ExceptionWithResponse

public Spml2ExceptionWithResponse(java.lang.String message,
                                  java.lang.Throwable cause,
                                  Response response)
Method Detail

getResponse

public final Response getResponse()


Copyright © Sun Microsystems, Inc. All Rights Reserved.