org.jdom

Class IllegalTargetException


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.8 $, $Date: 2002/01/08 09:17:10 $

Author:
Brett McLaughlin

Constructor Summary

IllegalTargetException(String target)
This will create an Exception indicating that the specified target is illegal for the ProcessingInstruction it was supplied to.
IllegalTargetException(String target, String reason)
This will create an Exception indicating that the specified target is illegal for the ProcessingInstruction it was supplied to.

Constructor Details

IllegalTargetException

public IllegalTargetException(String target)

Parameters:
target - String target that breaks rules.


IllegalTargetException

public IllegalTargetException(String target,
                              String reason)

Parameters:
target - String target that breaks rules.
reason - String message or reason target is illegal.


Copyright B) 2002 Jason Hunter, Brett McLaughlin. All Rights Reserved.