org.jboss.soa.esb.listeners.message
Class IncompatibleTransactionScopeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.soa.esb.BaseException
              extended by org.jboss.soa.esb.listeners.message.IncompatibleTransactionScopeException
All Implemented Interfaces:
java.io.Serializable

public class IncompatibleTransactionScopeException
extends BaseException

If a user attempts to use a request-response MEP while within the scope of a transaction then the request won't be sent until the transaction commits, which can't happen if the sender thread is blocked. Rather than wait for a timeout to occur we spot this incompatibility at send time and throw this exception. The application can then take appropriate action.

See Also:
Serialized Form

Constructor Summary
IncompatibleTransactionScopeException(java.lang.String message)
           
IncompatibleTransactionScopeException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 
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

IncompatibleTransactionScopeException

public IncompatibleTransactionScopeException(java.lang.String message)

IncompatibleTransactionScopeException

public IncompatibleTransactionScopeException(java.lang.String message,
                                             java.lang.Throwable cause)