public final class WrongTransaction extends UserException
WrongTransaction
用户定义的异常。
此异常的方法仅抛出Request.get_response
和ORB.get_next_response
,当他们从交易范围是从该客户端最初发送请求的一个不同的调用。
有关详细信息,请参阅OMG事务服务规范。
Constructor and Description |
---|
WrongTransaction()
构造具有空详细消息的WrongTransaction对象。
|
WrongTransaction(String reason)
构造具有给定详细消息的WrongTransaction对象。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WrongTransaction()
public WrongTransaction(String reason)
reason
- 详细消息,解释导致此异常被抛出的原因。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.