public final class TRANSACTION_REQUIRED extends SystemException
它包含一个小代码,它给出了导致异常的原因和完成状态的信息。它也可以包含一个描述异常的字符串。OMG交易服务规范的细节。
completed, minor
Constructor and Description |
---|
TRANSACTION_REQUIRED()
构建一个与默认的小代码0
TRANSACTION_REQUIRED 例外,对completionstatus.completed_no完成状态,和一个空的描述。
|
TRANSACTION_REQUIRED(int minor, CompletionStatus completed)
构建了一个
TRANSACTION_REQUIRED 例外与指定的小代码和完成状态。
|
TRANSACTION_REQUIRED(String s)
构建一个与指定的描述信息
TRANSACTION_REQUIRED 例外,一个小代码0,和completed_no完成状态。
|
TRANSACTION_REQUIRED(String s, int minor, CompletionStatus completed)
构建了一个
TRANSACTION_REQUIRED 例外与指定的描述信息,小的代码,并完成状态。
|
toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public TRANSACTION_REQUIRED()
TRANSACTION_REQUIRED
例外,对completionstatus.completed_no完成状态,和一个空的描述。
public TRANSACTION_REQUIRED(String s)
TRANSACTION_REQUIRED
例外,一个小代码0,和completed_no完成状态。
s
-包含详细信息的字符串
public TRANSACTION_REQUIRED(int minor, CompletionStatus completed)
TRANSACTION_REQUIRED
例外与指定的小代码和完成状态。
minor
-小码
completed
-完成状态
public TRANSACTION_REQUIRED(String s, int minor, CompletionStatus completed)
TRANSACTION_REQUIRED
次要代码,并完成状态。
s
-包含一个描述信息的字符串
minor
-小码
completed
-完成状态
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.