Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.config
Class ConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.tangosol.config.ConfigurationException

All Implemented Interfaces:
java.io.Serializable

public class ConfigurationException
extends java.lang.RuntimeException

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

Constructor Summary
ConfigurationException(java.lang.String sProblem, java.lang.String sAdvice)
          Constructs a ConfigurationException.
ConfigurationException(java.lang.String sProblem, java.lang.String sAdvice, java.lang.Throwable cause)
          Constructs a ConfigurationException (with a cause).

 

Method Summary
 java.lang.String getAdvice()
          Returns advice to resolve the issue.
 java.lang.String getMessage()
          
 java.lang.String getProblem()
          Returns what the problem was.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Constructor Detail

ConfigurationException

public ConfigurationException(java.lang.String sProblem,
                              java.lang.String sAdvice)
Constructs a ConfigurationException.
Parameters:
sProblem - the problem that occurred
sAdvice - the advice to fix the problem

ConfigurationException

public ConfigurationException(java.lang.String sProblem,
                              java.lang.String sAdvice,
                              java.lang.Throwable cause)
Constructs a ConfigurationException (with a cause).
Parameters:
sProblem - the problem that occurred
sAdvice - the advice to fix the problem
cause - the Throwable causing the problem

Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getProblem

public java.lang.String getProblem()
Returns what the problem was.
Returns:
A string detailing the problem

getAdvice

public java.lang.String getAdvice()
Returns advice to resolve the issue.
Returns:
A string detailing advice to resolve the issue

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.