nl.chess.it.util.config
Class MissingPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nl.chess.it.util.config.ConfigurationException
nl.chess.it.util.config.MissingPropertyException
- All Implemented Interfaces:
- java.io.Serializable
- public class MissingPropertyException
- extends ConfigurationException
Thrown when a required property could not be found.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Guus Bosman (Chess iT)
- See Also:
- Serialized Form
Fields inherited from class java.lang.RuntimeException |
|
Method Summary |
java.lang.String |
getExpectedType()
Returns the expected type of the property that was missing |
java.lang.String |
getPropertyname()
Returns the name of the property that was missing. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MissingPropertyException
public MissingPropertyException(java.lang.String propertyname)
MissingPropertyException
public MissingPropertyException(java.lang.String propertyname,
java.lang.String expectedtype)
getPropertyname
public java.lang.String getPropertyname()
- Returns the name of the property that was missing.
- Returns:
getExpectedType
public java.lang.String getExpectedType()
- Returns the expected type of the property that was missing
- Returns:
- String description of the type, or
null
if this is unknown.
toString
public java.lang.String toString()
Copyright © 2003-2005 Chess-iT. All Rights Reserved.