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
public class ConfigurationException extends RuntimeException
AConfigurationException
captures information concerning an invalid configuration of Coherence. Specifically it details what the problem was and advice for resolving the issue. Optionally aConfigurationException
may be include the causingException
.- Since:
- Coherence 12.1.2
- Author:
- bo 2011.06.15
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException(String sProblem, String sAdvice)
Constructs aConfigurationException
.ConfigurationException(String sProblem, String sAdvice, Throwable cause)
Constructs aConfigurationException
(with a cause).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAdvice()
Returns advice to resolve the issue.String
getMessage()
String
getProblem()
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 Detail
-
ConfigurationException
public ConfigurationException(String sProblem, String sAdvice)
Constructs aConfigurationException
.- Parameters:
sProblem
- the problem that occurredsAdvice
- the advice to fix the problem
-
ConfigurationException
public ConfigurationException(String sProblem, String sAdvice, Throwable cause)
Constructs aConfigurationException
(with a cause).- Parameters:
sProblem
- the problem that occurredsAdvice
- the advice to fix the problemcause
- theThrowable
causing the problem
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getProblem
public String getProblem()
Returns what the problem was.- Returns:
- A string detailing the problem
-
getAdvice
public String getAdvice()
Returns advice to resolve the issue.- Returns:
- A string detailing advice to resolve the issue
-
-