Top Description Fields Constructors
org.jdom2

public Class IllegalDataException

extends IllegalArgumentException
Class Inheritance

Thrown when illegal text is supplied to a JDOM construct.
Authors
Brett McLaughlin, Elliotte Rusty Harold

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides java.lang.IllegalArgumentException.serialVersionUID.

Standard JDOM2 Exception Serialization.

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

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IllegalArgumentException.serialVersionUID.

Standard JDOM2 Exception Serialization. Default.

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