javax.xml.ws.addressing
Class AddressingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.xml.ws.WebServiceException
                  extended by javax.xml.ws.addressing.AddressingException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ActionNotSupportedException, DestinationUnreachableException, EndpointUnavailableException, InvalidMapException, MapRequiredException

public class AddressingException
extends WebServiceException

The base class for JAX-WSA related exceptions.

See Also:
Serialized Form

Field Summary
protected static AddressingConstants ac
           
protected  QName code
           
protected  java.lang.Object detail
           
protected static java.lang.String fMessage
           
protected  java.lang.String reason
           
 
Constructor Summary
AddressingException()
          Constructs a new AddressingException with null as its detail message.
AddressingException(java.lang.String message)
          Constructs a new AddressingException with the specified detail message.
AddressingException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new AddressingException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
AddressingException(java.lang.Throwable cause)
          Constructs a new AddressingException with the specified detail message and cause.
 
Method Summary
 QName getCode()
          Returns the fault code.
 java.lang.Object getDetail()
          Returns the fault detail.
 java.lang.String getReason()
          Returns the fault reason.
 QName getSubcode()
          Returns the fault subcode.
 
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
 

Field Detail

code

protected QName code

reason

protected java.lang.String reason

detail

protected java.lang.Object detail

ac

protected static AddressingConstants ac

fMessage

protected static java.lang.String fMessage
Constructor Detail

AddressingException

public AddressingException()
Constructs a new AddressingException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


AddressingException

public AddressingException(java.lang.String message)
Constructs a new AddressingException with the specified detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).

AddressingException

public AddressingException(java.lang.Throwable cause)
Constructs a new AddressingException with the specified detail message and cause.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

AddressingException

public AddressingException(java.lang.String message,
                           java.lang.Throwable cause)
Constructs a new AddressingException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Method Detail

getCode

public QName getCode()
Returns the fault code.

Returns:
the fault code

getSubcode

public QName getSubcode()
Returns the fault subcode. Returns null if does not match a predefined fault in WS-Addressing specification.

Returns:
the fault subcode

getReason

public java.lang.String getReason()
Returns the fault reason.

Returns:
the fault reason

getDetail

public java.lang.Object getDetail()
Returns the fault detail.

Returns:
the fault detail