Class IllegalDataException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by IllegalDataException
All Implemented Interfaces:
java.io.Serializable
public class IllegalDataException
extends java.lang.IllegalArgumentException

Thrown when illegal text is supplied to a JDOM construct.

See Also:
Serialized Form

Field Summary
private static java.lang.StringCVS_ID
           
 
Constructor Summary
IllegalDataException(java.lang.String reason)
          This will create an exceptoin with the specified error message.
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.
 
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
 

Field Detail

CVS_ID

private static final java.lang.String CVS_ID
See Also:
Constant Field Values
Constructor Detail

IllegalDataException

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

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.

IllegalDataException

public IllegalDataException(java.lang.String reason)
This will create an exceptoin with the specified error message.

Parameters:
reason - cause of the problem