- 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
CORBAWrongTransaction
用户定义异常。 当从与客户端最初发送请求的事务范围不同的事务范围调用它们时,这个异常仅由方法Request.get_response
和ORB.get_next_response
抛出。 有关详细信息,请参阅OMG事务服务规范。
-
-
构造方法摘要
构造方法 Constructor 描述 WrongTransaction()
构造具有空详细消息的WrongTransaction对象。WrongTransaction(String reason)
构造具有给定详细消息的WrongTransaction对象。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
构造方法详细信息
-
WrongTransaction
public WrongTransaction()
构造具有空详细消息的WrongTransaction对象。
-
WrongTransaction
public WrongTransaction(String reason)
构造具有给定详细消息的WrongTransaction对象。- 参数
-
reason
- The detail message explaining what caused this exception to be thrown.
-
-