javax.xml.ws.addressing
Class MapRequiredException

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.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

Field Summary
 
Fields inherited from class javax.xml.ws.addressing.AddressingException
ac, code, detail, fMessage, reason
 
Constructor Summary
MapRequiredException()
          Overrides AddressingException default constructor.
MapRequiredException(javax.xml.namespace.QName name)
          Overrides AddressingException(String) constructor.
 
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 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

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
Method Detail

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.