Top Description Fields Constructors
org.jdom

public Class IllegalTargetException

extends IllegalArgumentException
Class Inheritance

Thrown when a target is supplied in construction of a JDOM ProcessingInstruction, and that name breaks XML naming conventions.
Author
Brett McLaughlin
Version
$Revision: 1.15 $, $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
IllegalTargetException(String
String target that breaks rules.
target
,
String
String message or reason target is illegal.
reason
)

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

public
IllegalTargetException(String
cause of the problem
reason
)

Creates an exception with the specified error message.

Field Detail

CVS_IDback to summary
private static final String CVS_ID

Constructor Detail

IllegalTargetExceptionback to summary
pack-priv IllegalTargetException(String target, String reason)

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

Parameters
target:String

String target that breaks rules.

reason:String

String message or reason target is illegal.

IllegalTargetExceptionback to summary
public IllegalTargetException(String reason)

Creates an exception with the specified error message.

Parameters
reason:String

cause of the problem