org.omg.CORBA

Class WrongTransaction

public final class WrongTransaction extends UserException

Thrown when the transaction scope mismatches.
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.

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.