javax.xml.ws.addressing
Class ActionNotSupportedException

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
                      extended by javax.xml.ws.addressing.ActionNotSupportedException
All Implemented Interfaces:
java.io.Serializable

public class ActionNotSupportedException
extends AddressingException

This exception is thrown when the action message addressing property in the message is not supported at an endpoint.

Since:
JAX-WSA 1.0
Author:
JAX-WSA Development Team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.xml.ws.addressing.AddressingException
ac, code, detail, fMessage, reason
 
Constructor Summary
protected ActionNotSupportedException()
          Overrides AddressingException default constructor.
  ActionNotSupportedException(java.lang.String action)
          Overrides AddressingException(String) constructor.
 
Method Summary
 java.lang.String getAction()
           
 javax.xml.namespace.QName getSubcode()
          Return the Subcode required by the WS-Addressing specification.
 
Methods inherited from class javax.xml.ws.addressing.AddressingException
getCode, getDetail, getReason
 
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

ActionNotSupportedException

protected ActionNotSupportedException()
Overrides AddressingException default constructor. Thrown when the action poperty in the message is not supported at this endpoint.


ActionNotSupportedException

public ActionNotSupportedException(java.lang.String action)
Overrides AddressingException(String) constructor. Thrown when the action poperty in the message is not supported at this endpoint.

Parameters:
action - the unsupported action
Method Detail

getAction

public java.lang.String getAction()
Returns:
the unsupported action

getSubcode

public javax.xml.namespace.QName getSubcode()
Return the Subcode required by the WS-Addressing specification.

Overrides:
getSubcode in class AddressingException
Returns:
the fault subcode


Copyright © 2005 Sun Microsystems, Inc. All Rights Reserved.