public class ConfigException extends Exception
Modifier | Constructor and Description |
---|---|
protected |
ConfigException()
Constructs a ConfigException with no detail message.
|
|
ConfigException(String message)
Constructs a ConfigException with the specified detail
message.
|
|
ConfigException(String message,
Throwable cause)
Constructs a ConfigException with the specified detail
message and cause.
|
|
ConfigException(Throwable cause)
Constructs a ConfigException with the specified cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected ConfigException()
initCause
.public ConfigException(String message)
initCause
.message
- the detail messagepublic ConfigException(String message, Throwable cause)
message
- the detail messagecause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method)public ConfigException(Throwable cause)
(cause == null ? null : cause.toString())(which typically contains the class and detail message of cause).
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method)Copyright © 2021. All rights reserved.