org.omg.CORBA
Class WrongTransaction
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.