uk.org.ury.database.exceptions
Class MissingPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.org.ury.database.exceptions.MissingPropertyException
All Implemented Interfaces:
java.io.Serializable

public class MissingPropertyException
extends java.lang.Exception

Exception thrown when a DatabaseItem is queried for a property that does not exist. This is (usually) not a fatal error.

Author:
Matt Windsor
See Also:
Serialized Form

Constructor Summary
MissingPropertyException()
          Construct a new MissingPropertyException with a default reason.
MissingPropertyException(java.lang.String reason)
          Construct a new MissingPropertyException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingPropertyException

public MissingPropertyException()
Construct a new MissingPropertyException with a default reason.


MissingPropertyException

public MissingPropertyException(java.lang.String reason)
Construct a new MissingPropertyException.

Parameters:
reason - The explanation for the exception.