com.sun.xml.ws.addressing.model
Class MissingAddressingHeaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.xml.ws.WebServiceException
com.sun.xml.ws.addressing.model.MissingAddressingHeaderException
- All Implemented Interfaces:
- Serializable
public class MissingAddressingHeaderException
- extends WebServiceException
This exception signals that a particular WS-Addressing header is missing in a SOAP message.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MissingAddressingHeaderException
public MissingAddressingHeaderException(@NotNull
QName name)
- Parameters:
name
- QName of the missing WS-Addressing Header
MissingAddressingHeaderException
public MissingAddressingHeaderException(@NotNull
QName name,
@Nullable
Packet p)
getMissingHeaderQName
public QName getMissingHeaderQName()
- Gets the QName of the missing WS-Addressing Header.
- Returns:
- never null.
getPacket
public Packet getPacket()
- The
Packet
in which a header was missing.
This object can be used to deep-inspect the problematic SOAP message.
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.