javax.xml.ws.addressing
Class InvalidMapException

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.InvalidMapException
All Implemented Interfaces:
java.io.Serializable

public class InvalidMapException
extends AddressingException

This exception is thrown when a message addressing property cannot be processed at the receiving side.

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

Field Summary
static javax.xml.namespace.QName ACTION_MISMATCH
          Fault subcode when Action and SOAPAction for the mesage did not match.
static javax.xml.namespace.QName DUPLICATE_MESSAGEID
          Fault subcode when a header contains a message id that was a duplicate of one already received.
static javax.xml.namespace.QName INVALID_ADDRESS_SUBCODE
          Fault subcode when an invalid address is specified.
static javax.xml.namespace.QName INVALID_CARDINALITY
          Fault subcode when greater than expected number of the specified header is received.
static javax.xml.namespace.QName INVALID_EPR
          Fault subcode when an invalid header was expected to be EndpointReference but was not valid.
static javax.xml.namespace.QName MISSING_ADDRESS_IN_EPR
          Fault subcode when an invalid header was expected to be EndpointReference but did not contain address.
 
Fields inherited from class javax.xml.ws.addressing.AddressingException
ac, code, detail, fMessage, reason
 
Constructor Summary
protected InvalidMapException()
          Overrides AddressingException default constructor.
  InvalidMapException(javax.xml.namespace.QName name, javax.xml.namespace.QName subsubcode)
          Overrides AddressingException(String) constructor Thrown when a message addressing property cannot be processed.
 
Method Summary
 javax.xml.namespace.QName getMapQName()
           
 javax.xml.namespace.QName getSubcode()
          Return the Subcode required by the WS-Addressing specification.
 javax.xml.namespace.QName getSubsubcode()
           
 
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
 

Field Detail

INVALID_ADDRESS_SUBCODE

public static final javax.xml.namespace.QName INVALID_ADDRESS_SUBCODE
Fault subcode when an invalid address is specified.


INVALID_EPR

public static final javax.xml.namespace.QName INVALID_EPR
Fault subcode when an invalid header was expected to be EndpointReference but was not valid.


INVALID_CARDINALITY

public static final javax.xml.namespace.QName INVALID_CARDINALITY
Fault subcode when greater than expected number of the specified header is received.


MISSING_ADDRESS_IN_EPR

public static final javax.xml.namespace.QName MISSING_ADDRESS_IN_EPR
Fault subcode when an invalid header was expected to be EndpointReference but did not contain address.


DUPLICATE_MESSAGEID

public static final javax.xml.namespace.QName DUPLICATE_MESSAGEID
Fault subcode when a header contains a message id that was a duplicate of one already received.


ACTION_MISMATCH

public static final javax.xml.namespace.QName ACTION_MISMATCH
Fault subcode when Action and SOAPAction for the mesage did not match.

Constructor Detail

InvalidMapException

protected InvalidMapException()
Overrides AddressingException default constructor. Thrown when a message addressing property cannot be processed.


InvalidMapException

public InvalidMapException(javax.xml.namespace.QName name,
                           javax.xml.namespace.QName subsubcode)
Overrides AddressingException(String) constructor Thrown when a message addressing property cannot be processed.

Parameters:
name - the QName of the root element of the offending header
Method Detail

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

getMapQName

public javax.xml.namespace.QName getMapQName()

getSubsubcode

public javax.xml.namespace.QName getSubsubcode()


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