org.jdom
Class IllegalDataException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
|
+--org.jdom.IllegalDataException
- All Implemented Interfaces:
- java.io.Serializable
- public class IllegalDataException
- extends java.lang.IllegalArgumentException
IllegalDataException
is thrown when illegal text is supplied to a
JDOM construct.
- Version:
- $Revision: 1.10 $, $Date: 2002/04/29 13:38:15 $
- Author:
- Brett McLaughlin, Elliotte Rusty Harold
- See Also:
- Serialized Form
Constructor Summary |
IllegalDataException(java.lang.String data,
java.lang.String construct)
This will create an Exception indicating
that the specified data is illegal for the construct
it was supplied to. |
IllegalDataException(java.lang.String data,
java.lang.String construct,
java.lang.String reason)
This will create an Exception indicating
that the specified data is illegal for the construct
it was supplied to. |
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 |
IllegalDataException
public IllegalDataException(java.lang.String data,
java.lang.String construct,
java.lang.String reason)
- This will create an
Exception
indicating
that the specified data is illegal for the construct
it was supplied to.
- Parameters:
data
- String
data that breaks rules.construct
- String
construct that data is illegal for.reason
- String
message or reason data is illegal.
IllegalDataException
public IllegalDataException(java.lang.String data,
java.lang.String construct)
- This will create an
Exception
indicating
that the specified data is illegal for the construct
it was supplied to.
- Parameters:
data
- String
data that breaks rules.construct
- String
construct that data is illegal for.
Copyright © 2003 Jason Hunter, Brett McLaughlin. All Rights Reserved.