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
AConfigurationExceptioncaptures information concerning an invalid configuration of Coherence. Specifically it details what the problem was and advice for resolving the issue. Optionally aConfigurationExceptionmay 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 StringgetAdvice()Returns advice to resolve the issue.StringgetMessage()StringgetProblem()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- theThrowablecausing the problem
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein 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
-
-