public class ThrowableContainerPropertySet
extends com.oracle.webservices.api.message.BasePropertySet
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.
This PropertySet
is part of the implementation that allows a completing Fiber to return
the Throwable to the caller as part of the Packet.Modifier and Type | Field and Description |
---|---|
static String |
FAULT_MESSAGE |
static String |
FIBER_COMPLETION_THROWABLE |
static String |
IS_FAULT_CREATED |
static String |
RESPONSE_PACKET |
Constructor and Description |
---|
ThrowableContainerPropertySet(Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
com.sun.xml.ws.api.message.Message |
getFaultMessage() |
protected com.oracle.webservices.api.message.BasePropertySet.PropertyMap |
getPropertyMap()
Map representing the Fields and Methods annotated with
PropertySet.Property . |
com.sun.xml.ws.api.message.Packet |
getResponsePacket() |
Throwable |
getThrowable() |
boolean |
isFaultCreated() |
void |
setFaultCreated(boolean isFaultCreated) |
void |
setFaultMessage(com.sun.xml.ws.api.message.Message faultMessage) |
void |
setResponsePacket(com.sun.xml.ws.api.message.Packet responsePacket) |
void |
setThrowable(Throwable throwable) |
public static final String FIBER_COMPLETION_THROWABLE
public static final String FAULT_MESSAGE
public static final String RESPONSE_PACKET
public static final String IS_FAULT_CREATED
public ThrowableContainerPropertySet(Throwable throwable)
public Throwable getThrowable()
public void setThrowable(Throwable throwable)
public com.sun.xml.ws.api.message.Message getFaultMessage()
public void setFaultMessage(com.sun.xml.ws.api.message.Message faultMessage)
public com.sun.xml.ws.api.message.Packet getResponsePacket()
public void setResponsePacket(com.sun.xml.ws.api.message.Packet responsePacket)
public boolean isFaultCreated()
public void setFaultCreated(boolean isFaultCreated)
protected com.oracle.webservices.api.message.BasePropertySet.PropertyMap getPropertyMap()
com.oracle.webservices.api.message.BasePropertySet
PropertySet.Property
.
Model of PropertySet
class.
At the end of the derivation chain this method just needs to be implemented as:
private static final PropertyMap model; static { model = parse(MyDerivedClass.class); } protected PropertyMap getPropertyMap() { return model; }
getPropertyMap
in class com.oracle.webservices.api.message.BasePropertySet
Copyright © 2015 Oracle Corporation. All rights reserved.