|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.dtools.ini.InvalidNameException
public class InvalidNameException
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
.
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 |
---|
public InvalidNameException()
Default construct, creates a new instance of
InvalidNameException
with the vague message "The name
given is invalid.".
public InvalidNameException(String message)
Constructor which creates a new instance of
InvalidNameException
with the given message.
message
- The String message of the exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |