org.dtools.ini
Class FormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.dtools.ini.FormatException
All Implemented Interfaces:
Serializable

public class FormatException
extends RuntimeException

The FormatException class is an exception which is thrown by the class IniFileReader whenever it reads an INI file from the hard disk that is not in the correct format of an INI file.

Since:
0.1.18
Version:
0.1.22
Author:
David Lewis
See Also:
Serialized Form

Constructor Summary
FormatException()
          Default constructor, creates a new instance of FormatException and sets the message of the exception to the vague message "A format exception occurred.".
FormatException(String message)
          Constructor, creates a new instance of FormatException and sets the message to the given String.
 
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

FormatException

public FormatException()

Default constructor, creates a new instance of FormatException and sets the message of the exception to the vague message "A format exception occurred.".

Since:
0.1.18

FormatException

public FormatException(String message)

Constructor, creates a new instance of FormatException and sets the message to the given String.

Parameters:
message - The message of this exception.
Since:
0.1.18