com.softwareag.tamino.db.api.response.sax.helper.sodom
Class IllegalTargetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by com.softwareag.tamino.db.api.response.sax.helper.sodom.IllegalTargetException
All Implemented Interfaces:
java.io.Serializable

public class IllegalTargetException
extends java.lang.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.3 $, $Date: 2007/03/06 13:49:55 $
Author:
Brett McLaughlin
See Also:
Serialized Form

Constructor Summary
IllegalTargetException(java.lang.String target)
           This will create an Exception indicating that the specified target is illegal for the ProcessingInstruction it was supplied to.
IllegalTargetException(java.lang.String target, java.lang.String reason)
           This will create an Exception indicating that the specified target is illegal for the ProcessingInstruction it was supplied to.
 
Method Summary
static java.lang.String getMessage(java.lang.String target)
           
static java.lang.String getMessage(java.lang.String target, java.lang.String reason)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalTargetException

public IllegalTargetException(java.lang.String target,
                              java.lang.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(java.lang.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.
Method Detail

getMessage

public static java.lang.String getMessage(java.lang.String target,
                                          java.lang.String reason)

getMessage

public static java.lang.String getMessage(java.lang.String target)


Copyright (c) 2013 Software AG. All Rights Reserved.