public class HPSFRuntimeException
extends java.lang.RuntimeException
This exception is the superclass of all other unchecked exceptions thrown in this package. It supports a nested "reason" throwable, i.e. an exception that caused this one to be thrown.
(此异常是此包中抛出的所有其他未经检查的异常的超类。它支持嵌套的“原因”可抛出,即导致抛出该异常的异常。)Constructor and Description |
---|
HPSFRuntimeException()
Creates a new
HPSFRuntimeException .
|
HPSFRuntimeException(java.lang.String msg)
Creates a new
HPSFRuntimeException with a message string.
|
HPSFRuntimeException(java.lang.String msg, java.lang.Throwable reason)
Creates a new
HPSFRuntimeException with a message string and a reason.
|
HPSFRuntimeException(java.lang.Throwable reason)
Creates a new
HPSFRuntimeException with a reason.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getReason()
Returns the
Throwable that caused this exception to be thrown or
null if there was no such
Throwable .
(如果没有这样的 Throwable,则返回导致引发此异常的 Throwable。)
|
public HPSFRuntimeException()
Creates a new HPSFRuntimeException
.
public HPSFRuntimeException(java.lang.String msg)
Creates a new HPSFRuntimeException
with a message string.
msg
- The message string.
(msg - 消息字符串。)
public HPSFRuntimeException(java.lang.Throwable reason)
Creates a new HPSFRuntimeException
with a reason.
reason
- The reason, i.e. a throwable that indirectly caused this exception.
(reason - 原因,即间接导致此异常的 throwable。)
public HPSFRuntimeException(java.lang.String msg, java.lang.Throwable reason)
Creates a new HPSFRuntimeException
with a message string and a reason.
msg
- The message string.
(msg - 消息字符串。)
reason
- The reason, i.e. a throwable that indirectly caused this exception.
(reason - 原因,即间接导致此异常的 throwable。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.