public class ThrowableInPacketCompletionFeature extends WebServiceFeature
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
.ThrowableContainerPropertySet
enabled
Constructor and Description |
---|
ThrowableInPacketCompletionFeature() |
Modifier and Type | Method and Description |
---|---|
String |
getID() |
isEnabled
public String getID()
getID
in class WebServiceFeature
Copyright © 2015 Oracle Corporation. All rights reserved.