All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.jdom.IllegalDataException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----java.lang.IllegalArgumentException
                                   |
                                   +----org.jdom.IllegalDataException

public class IllegalDataException
extends IllegalArgumentException

IllegalDataException is thrown when illegal text is supplied to a JDOM construct.

Version:
$Revision: 1.7 $, $Date: 2002/01/08 09:17:10 $
Author:
Brett McLaughlin, Elliotte Rusty Harold

Constructor Index

 o IllegalDataException(String, String)

This will create an Exception indicating that the specified data is illegal for the construct it was supplied to.

 o IllegalDataException(String, String, String)

This will create an Exception indicating that the specified data is illegal for the construct it was supplied to.

Constructors

 o IllegalDataException
 public IllegalDataException(String data,
                             String construct,
                             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.
 o IllegalDataException
 public IllegalDataException(String data,
                             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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index