org.jdom
Class IllegalTargetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.jdom.IllegalTargetException
- All Implemented Interfaces:
- Serializable
- public class IllegalTargetException
- extends IllegalArgumentException
IllegalTargetException
is thrown when a target is supplied in construction, etc.,
of a JDOM ProcessingInstruction
, and that name breaks
XML naming conventions.
- Version:
- $Revision: 1.11 $, $Date: 2002/04/29 13:38:15 $
- Author:
- Brett McLaughlin
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalTargetException
public 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
target that breaks rules.reason
- String
message or reason target is illegal.
IllegalTargetException
public IllegalTargetException(String target)
- This will create an
Exception
indicating
that the specified target is illegal for the
ProcessingInstruction
it was supplied to.
- Parameters:
target
- String
target that breaks rules.
Copyright ? 2003 Jason Hunter, Brett McLaughlin. All Rights Reserved.