org.omg.CORBA
Class WrongTransaction

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by org.omg.CORBA.WrongTransaction
All Implemented Interfaces:
Serializable, IDLEntity

public final class WrongTransaction
extends UserException

Thrown when the transaction scope mismatches.

See Also:
Serialized Form

Constructor Summary
WrongTransaction()
          Constructs a default WrongTransaction exception, with no detail message.
WrongTransaction(String reason)
          Constructs a WrongTransaction exception using the specified message as the reason for throwing it.
 
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

WrongTransaction

public WrongTransaction()
Constructs a default WrongTransaction exception, with no detail message.


WrongTransaction

public WrongTransaction(String reason)
Constructs a WrongTransaction exception using the specified message as the reason for throwing it.

Parameters:
reason - the reason, why the exception has been thrown.