|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.glassfish.openesb.pojose.api.MessageException
org.glassfish.openesb.pojose.api.FaultMessage
public class FaultMessage
Fault message a POJO service can throw from its @Operation method. Fault message is sent as is, make sure to wrap the message payload with appropriate JBI WSDL 1.1 wrapper elemenets, if expected by the consuming service. New instance of Fault can be got from this.jbiCtx.getMessageExchange().createFault() Utility methods on Context.createFaultMessage(...) may also be used to get Fault instance populated FaultMessage instance.
Constructor Summary | |
---|---|
FaultMessage()
|
|
FaultMessage(Fault fault)
|
Method Summary | |
---|---|
Fault |
getFault()
|
void |
setFault(Fault fault)
|
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 |
Constructor Detail |
---|
public FaultMessage()
public FaultMessage(Fault fault)
Method Detail |
---|
public Fault getFault()
public void setFault(Fault fault)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |