public class JMXServerErrorException extends IOException
ServerError
,
Serialized Form
Constructor and Description |
---|
JMXServerErrorException(String s, Error err)
创建一个指定详细信息的
JMXServerErrorException 嵌套错误。
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
返回此错误或
null 原因如果原因是不存在的或未知的。
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public Throwable getCause()
Throwable
null
原因如果原因是不存在的或未知的。(原因是引起这个异常被抛出,
此实现返回的原因是通过一个需要Throwable
建设者提供,或是与Throwable.initCause(Throwable)
方法创建后。虽然它通常不需要重写此方法,但子类可以重写它以通过其他方式返回一个原因集。这是适合“遗产锁抛出“在连锁的例外Throwable
此外。注意,它凌驾于任何的PrintStackTrace
方法是不必要,所有这些调用getCause
方法来确定一个Throwable的原因。
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.