simple.util
Class PropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by simple.util.PropertyException
All Implemented Interfaces:
java.io.Serializable

public class PropertyException
extends java.io.IOException

The PropertyException is used to describe the error that occurs when a properties file cannot be read. This can be caused either by an I/O problem reading the file, or it the file is written in an invalid syntax, particularly invalid XML.

Author:
Niall Gallagher
See Also:
Serialized Form

Constructor Summary
PropertyException()
          Constructor for the PropertyException.
PropertyException(java.lang.Throwable cause)
          Constructor for the PropertyException.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyException

public PropertyException()
Constructor for the PropertyException. This is used when no message is required to describe the exception.


PropertyException

public PropertyException(java.lang.Throwable cause)
Constructor for the PropertyException. This is used when there is some exception relating to the parsing or reading of the properties file thrown.

Parameters:
cause - this is the cause of the property exception