Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jpos.iso.ISOException
org.jpos.core.ConfigurationException
- All Implemented Interfaces:
Serializable, Loggeable
Thrown when a configurable component cannot be initialised due to invalid or missing configuration.
- Since:
- jPOS 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ConfigurationException(String detail) Creates a ConfigurationException with a detail message.ConfigurationException(String detail, Throwable nested) Creates a ConfigurationException with a detail message and root cause.ConfigurationException(Throwable nested) Creates a ConfigurationException wrapping a root cause. -
Method Summary
Methods inherited from class ISOException
dump, getNested, getTagName, printStackTrace, printStackTrace, printStackTrace, toStringModifier and TypeMethodDescriptionvoiddump(PrintStream p, String indent) Dumps a human-readable representation of this exception to the print stream.Returns the nested (wrapped) exception, if any.protected StringReturns the XML tag name used when dumping this exception.voidvoidvoidtoString()Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTraceMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Loggeable
dumpModifier and TypeMethodDescriptiondefault voiddump(PrintStream p, String indent, LogRenderer.Type type) Dumps a representation of this object using the specified renderer type.
-
Constructor Details
-
ConfigurationException
public ConfigurationException()Default constructor. -
ConfigurationException
Creates a ConfigurationException with a detail message.- Parameters:
detail- error message
-
ConfigurationException
Creates a ConfigurationException wrapping a root cause.- Parameters:
nested- the root cause
-
ConfigurationException
Creates a ConfigurationException with a detail message and root cause.- Parameters:
detail- error messagenested- the root cause
-