com.sun.xml.ws.api.client
Class ThrowableInPacketCompletionFeature
java.lang.Object
javax.xml.ws.WebServiceFeature
com.sun.xml.ws.api.client.ThrowableInPacketCompletionFeature
public class ThrowableInPacketCompletionFeature
- extends javax.xml.ws.WebServiceFeature
When using Dispatch<Packet> and the invocation completes with a Throwable, it is
useful to be able to inspect the Packet in addition to the Throwable as the Packet contains
meta-data about the request and/or response. However, the default behavior is that the caller
only receives the Throwable.
When an instance of this feature is enabled on the binding, any Throwable generated will be available
on the Packet on the satellite ThrowableContainerPropertySet.
- See Also:
ThrowableContainerPropertySet
| Fields inherited from class javax.xml.ws.WebServiceFeature |
enabled |
|
Method Summary |
java.lang.String |
getID()
|
| Methods inherited from class javax.xml.ws.WebServiceFeature |
isEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThrowableInPacketCompletionFeature
public ThrowableInPacketCompletionFeature()
getID
public java.lang.String getID()
- Specified by:
getID in class javax.xml.ws.WebServiceFeature
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.