Package com.tangosol.config
Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tangosol.config.ConfigurationException
- All Implemented Interfaces:
Serializable
A
ConfigurationException
captures information concerning an invalid configuration of Coherence.
Specifically it details what the problem was and advice for resolving the issue. Optionally
a ConfigurationException
may be include the causing Exception
.- Since:
- Coherence 12.1.2
- Author:
- bo 2011.06.15
- See Also:
-
Constructor Summary
ConstructorDescriptionConfigurationException
(String sProblem, String sAdvice) Constructs aConfigurationException
.ConfigurationException
(String sProblem, String sAdvice, Throwable cause) Constructs aConfigurationException
(with a cause). -
Method Summary
Modifier and TypeMethodDescriptionReturns advice to resolve the issue.Returns what the problem was.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigurationException
Constructs aConfigurationException
.- Parameters:
sProblem
- the problem that occurredsAdvice
- the advice to fix the problem
-
ConfigurationException
Constructs aConfigurationException
(with a cause).- Parameters:
sProblem
- the problem that occurredsAdvice
- the advice to fix the problemcause
- theThrowable
causing the problem
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getProblem
Returns what the problem was.- Returns:
- A string detailing the problem
-
getAdvice
Returns advice to resolve the issue.- Returns:
- A string detailing advice to resolve the issue
-