nl.chess.it.util.config
Class MissingPropertyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bynl.chess.it.util.config.ConfigurationException
                  extended bynl.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

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
MissingPropertyException(java.lang.String propertyname)
           
MissingPropertyException(java.lang.String propertyname, java.lang.String expectedtype)
           
 
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
 

Constructor Detail

MissingPropertyException

public MissingPropertyException(java.lang.String propertyname)

MissingPropertyException

public MissingPropertyException(java.lang.String propertyname,
                                java.lang.String expectedtype)
Method Detail

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.