org.ourgrid.common.config
Class ConfigException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ourgrid.common.exception.OurgridException
org.ourgrid.common.config.ConfigException
- All Implemented Interfaces:
- java.io.Serializable
public class ConfigException
- extends OurgridException
Used to signalize errors related to the MyGrid properties (see MG.properties)
and its uses.
- See Also:
- Serialized Form
Constructor Summary |
ConfigException(java.lang.String wrongParameter)
Constructor that receives a string that defines the MyGrid property
related to the exception. |
ConfigException(java.lang.String wrongParameter,
java.lang.Throwable detail)
|
ConfigException(java.lang.Throwable detail)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConfigException
public ConfigException(java.lang.Throwable detail)
ConfigException
public ConfigException(java.lang.String wrongParameter)
- Constructor that receives a string that defines the MyGrid property
related to the exception.
- Parameters:
wrongParameter
- the MyGrid property related to the exception.
ConfigException
public ConfigException(java.lang.String wrongParameter,
java.lang.Throwable detail)
getParameter
public java.lang.String getParameter()
- Returns:
- the property that is related with the exception.
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class OurgridException
- See Also:
Throwable.getMessage()