Package org.apache.juneau
Class ConfigException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.BasicRuntimeException
org.apache.juneau.ConfigException
- All Implemented Interfaces:
Serializable
An exception that typically occurs when trying to perform an invalid operation on a configuration property.
-
Constructor Summary
ConstructorsConstructorDescriptionConfigException(String message, Object... args) ConstructorConfigException(Throwable cause, String message, Object... args) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionsetMessage(String message, Object... args) Sets the detail message on this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigException
Constructor- Parameters:
message- The error message.args- OptionalMessageFormat-style arguments.
-
ConfigException
Constructor.- Parameters:
cause- The cause of this exception.message- TheMessageFormat-style message.args- OptionalMessageFormat-style arguments.
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classBasicRuntimeException
-
setMessage
Description copied from class:BasicRuntimeExceptionSets the detail message on this exception.- Overrides:
setMessagein classBasicRuntimeException- Parameters:
message- The message.args- The message args.- Returns:
- This object.
-