public final class PolicyError extends UserException
PolicyError
例外可能包括以下一个政策错误原因代码在org.omg.corba包定义:bad_policy,bad_policy_type,bad_policy_value,unsupported_policy,unsupported_policy_value。
Modifier and Type | Field and Description |
---|---|
short |
reason
为
PolicyError 异常抛出的原因。
|
Constructor and Description |
---|
PolicyError()
构建了一个默认的
PolicyError 用户异常没有原因代码和一个空的原因的详细信息。
|
PolicyError(short __reason)
构建了一个
PolicyError 用户异常用给出的原因代码初始化和一个空的原因的详细信息。
|
PolicyError(String reason_string, short __reason)
构建了一个
PolicyError 用户异常用给出的原因的详细信息和原因代码初始化。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PolicyError()
PolicyError
用户异常没有原因代码和一个空的原因的详细信息。
public PolicyError(short __reason)
PolicyError
用户异常用给出的原因代码初始化和一个空的原因的详细信息。
__reason
-原因代码。
public PolicyError(String reason_string, short __reason)
PolicyError
用户异常用给出的原因的详细信息和原因代码初始化。
reason_string
-详细信息的原因。
__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.