public final class INVALID_ACTIVITY extends SystemException
INVALID_ACTIVITY系统异常。
当尝试调用与Activity的当前状态不兼容时,它也会引发。
completed, minor| Constructor and Description |
|---|
INVALID_ACTIVITY()
构造一个
INVALID_ACTIVITY异常,次要代码设置为0,CompletionStatus设置为COMPLETED_NO。
|
INVALID_ACTIVITY(int minorCode, CompletionStatus completionStatus)
构造具有
INVALID_ACTIVITY的次要代码和完成状态的INVALID_ACTIVITY异常。
|
INVALID_ACTIVITY(String detailMessage)
使用指定的消息构造一个
INVALID_ACTIVITY异常。
|
INVALID_ACTIVITY(String detailMessage, int minorCode, CompletionStatus completionStatus)
构造具有
INVALID_ACTIVITY消息,次要代码和完成状态的INVALID_ACTIVITY异常。
|
toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic INVALID_ACTIVITY()
INVALID_ACTIVITY异常,次要代码设置为0,CompletionStatus设置为COMPLETED_NO。
public INVALID_ACTIVITY(String detailMessage)
INVALID_ACTIVITY例外用指定的消息。
detailMessage - 包含详细消息的字符串。
public INVALID_ACTIVITY(int minorCode,
CompletionStatus completionStatus)
INVALID_ACTIVITY的次要代码和完成状态的INVALID_ACTIVITY异常。
minorCode - 次要代码。
completionStatus - 完成状态。
public INVALID_ACTIVITY(String detailMessage, int minorCode, CompletionStatus completionStatus)
INVALID_ACTIVITY消息,次要代码和完成状态的INVALID_ACTIVITY异常。
detailMessage - 包含详细消息的字符串。
minorCode - 次要代码。
completionStatus - 完成状态。
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.