org.apache.servicemix.jbi.exception
Class FaultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jbi.JBIException
              extended by javax.jbi.messaging.MessagingException
                  extended by org.apache.servicemix.jbi.exception.FaultException
All Implemented Interfaces:
java.io.Serializable

public class FaultException
extends javax.jbi.messaging.MessagingException

An exception which is thrown if a fault occurs in some JBI client invocation.

Version:
$Revision: 564374 $
See Also:
Serialized Form

Constructor Summary
FaultException(java.lang.String text, javax.jbi.messaging.MessageExchange exchange, javax.jbi.messaging.Fault fault)
           
 
Method Summary
 javax.jbi.messaging.MessageExchange getExchange()
           
 javax.jbi.messaging.Fault getFault()
           
static FaultException newInstance(javax.jbi.messaging.MessageExchange exchange)
           
 
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

FaultException

public FaultException(java.lang.String text,
                      javax.jbi.messaging.MessageExchange exchange,
                      javax.jbi.messaging.Fault fault)
Method Detail

newInstance

public static FaultException newInstance(javax.jbi.messaging.MessageExchange exchange)
                                  throws NoFaultAvailableException
Throws:
NoFaultAvailableException

getExchange

public javax.jbi.messaging.MessageExchange getExchange()

getFault

public javax.jbi.messaging.Fault getFault()


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.