javax.xml.ws.addressing
Class MapRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.xml.ws.WebServiceException
javax.xml.ws.addressing.AddressingException
javax.xml.ws.addressing.MapRequiredException
- All Implemented Interfaces:
- java.io.Serializable
public class MapRequiredException
- extends AddressingException
This exception is thrown when a required message addressing property is
absent.
- Since:
- JAX-WSA 1.0
- Author:
- JAX-WSA Development Team
- See Also:
- Serialized Form
Method Summary |
javax.xml.namespace.QName |
getName()
Return name of the missing addressing property. |
javax.xml.namespace.QName |
getSubcode()
Return the Subcode required by the WS-Addressing specification. |
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 |
MapRequiredException
public MapRequiredException()
- Overrides
AddressingException
default constructor. Thrown
when a required message addressing property is absent.
MapRequiredException
public MapRequiredException(javax.xml.namespace.QName name)
- Overrides
AddressingException(String)
constructor. Thrown
when a message addressing property cannot be processed.
- Parameters:
name
- the QName of the message addressing header that was missing
getName
public javax.xml.namespace.QName getName()
- Return name of the missing addressing property.
- Returns:
- name of the addressing property
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.