public final class BadKind extends UserException
TypeCode对象调用不适当的BadKind时,抛出异常TypeCode 。
例如,调用不代表IDL联合的TypeCode实例上的方法discriminator_type()将导致抛出异常BadKind 。
TypeCode
| Constructor and Description |
|---|
BadKind()
构造一个没有原因消息的
BadKind异常。
|
BadKind(String reason)
构造具有
BadKind原因消息的BadKind异常。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BadKind()
BadKind异常。
public BadKind(String reason)
BadKind异常。
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.