public class UnsupportedOperationException extends RuntimeException
| Constructor and Description |
|---|
UnsupportedOperationException()
构造一个没有详细消息的UnsupportedOperationException。
|
UnsupportedOperationException(String message)
构造具有指定详细消息的UnsupportedOperationException。
|
UnsupportedOperationException(String message, Throwable cause)
构造一个新的异常与指定的详细信息和原因。
|
UnsupportedOperationException(Throwable cause)
构造具有指定的原因和
(cause==null ? null : cause.toString())详细消息(它通常包含的
cause类和详细消息)的新异常。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnsupportedOperationException()
public UnsupportedOperationException(String message)
message - 详细信息
public UnsupportedOperationException(String message, Throwable cause)
请注意,与cause联的详细信息不会自动并入此异常的详细消息。
message - 详细信息(由
Throwable.getMessage()方法保存供以后检索)。
cause - 原因(保存以供稍后通过Throwable.getCause()方法检索 )。
( 允许 A null值,表示原因不存在或未知。)
public UnsupportedOperationException(Throwable cause)
PrivilegedActionException )的异常很有用 。
cause - 原因(由Throwable.getCause()方法保存供以后检索)。
(A null的值是允许的,并且表示原因不存在或未知。)
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.