public final class TRANSACTION_REQUIRED extends SystemException
它包含一个次要代码,它提供有关导致异常的信息以及完成状态。 它也可以包含描述异常的字符串。 OMG交易服务的具体细节。
completed, minor| Constructor and Description | 
|---|
| TRANSACTION_REQUIRED()
              构造一个 
              TRANSACTION_REQUIRED异常,默认次要代码为0,完成状态为CompletionStatus.COMPLETED_NO和一个空描述。 | 
| TRANSACTION_REQUIRED(int minor, CompletionStatus completed)
              构造具有 
              TRANSACTION_REQUIRED的次要代码和完成状态的TRANSACTION_REQUIRED异常。 | 
| TRANSACTION_REQUIRED(String s)
              构造一个 
              TRANSACTION_REQUIRED异常,指定的描述消息,次要代码为0,完成状态为COMPLETED_NO。 | 
| TRANSACTION_REQUIRED(String s, int minor, CompletionStatus completed)
              构造具有 
              TRANSACTION_REQUIRED的描述消息,次要代码和完成状态的TRANSACTION_REQUIRED异常。 | 
toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic TRANSACTION_REQUIRED()
TRANSACTION_REQUIRED异常,默认次要代码为0,完成状态为CompletionStatus.COMPLETED_NO和一个空描述。 
          public TRANSACTION_REQUIRED(String s)
TRANSACTION_REQUIRED异常,指定的描述消息,次要代码为0,完成状态为COMPLETED_NO。 
          s - 包含详细消息的字符串 
           public TRANSACTION_REQUIRED(int minor,
                            CompletionStatus completed) 
          TRANSACTION_REQUIRED的次要代码和完成状态的TRANSACTION_REQUIRED异常。 
          minor - 次要代码 
           completed - 完成状态 
           public TRANSACTION_REQUIRED(String s, int minor, CompletionStatus completed)
TRANSACTION_REQUIRED的描述消息,次要代码和完成状态的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.