Top Description Fields Constructors
org.jdom

public Class IllegalDataException

extends IllegalArgumentException
Class Inheritance

Thrown when illegal text is supplied to a JDOM construct.
Authors
Brett McLaughlin, Elliotte Rusty Harold
Version
$Revision: 1.14 $, $Date: 2007/11/10 05:28:59 $

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
pack-priv
IllegalDataException(String
String data that breaks rules.
data
,
String
String construct that data is illegal for.
construct
,
String
String message or reason data is illegal.
reason
)

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

pack-priv
IllegalDataException(String
String data that breaks rules.
data
,
String
String construct that data is illegal for.
construct
)

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

public
IllegalDataException(String
cause of the problem
reason
)

This will create an exceptoin with the specified error message.

Field Detail

CVS_IDback to summary
private static final String CVS_ID

Constructor Detail

IllegalDataExceptionback to summary
pack-priv 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

String data that breaks rules.

construct:String

String construct that data is illegal for.

reason:String

String message or reason data is illegal.

IllegalDataExceptionback to summary
pack-priv 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

String data that breaks rules.

construct:String

String construct that data is illegal for.

IllegalDataExceptionback to summary
public IllegalDataException(String reason)

This will create an exceptoin with the specified error message.

Parameters
reason:String

cause of the problem