org.dtools.ini
Class InvalidNameException

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

public class InvalidNameException
extends RuntimeException

The InvalidNameException is a RuntimeException which is thrown if a user tries to add an IniSection to an IniFile and the IniSection's name is not considered valid by the IniFile. This RuntimeException is also thrown when an IniItem with an invalid name is added to a IniSection.

Since:
0.1.12
Version:
0.1.20
Author:
David Lewis
See Also:
Serialized Form

Constructor Summary
InvalidNameException()
          Default construct, creates a new instance of InvalidNameException with the vague message "The name given is invalid.".
InvalidNameException(String message)
          Constructor which creates a new instance of InvalidNameException with the given message.
 
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

InvalidNameException

public InvalidNameException()

Default construct, creates a new instance of InvalidNameException with the vague message "The name given is invalid.".

Since:
0.1.12

InvalidNameException

public InvalidNameException(String message)

Constructor which creates a new instance of InvalidNameException with the given message.

Parameters:
message - The String message of the exception.
Since:
0.1.12