org.jdom
Class NoSuchProcessingInstructionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.jdom.JDOMException
                    |
                    +--org.jdom.NoSuchProcessingInstructionException

public class NoSuchProcessingInstructionException
extends JDOMException

NoSuchProcessingInstructionException is thrown when a requested XML processing instruction is searched for and does not exist. This is in favor or a null return value which can cause program errors when used in comparisons, etc.

Version:
1.0
Author:
Brett McLaughlin, Jason Hunter
See Also:
Serialized Form

Fields inherited from class org.jdom.JDOMException
rootCause
 
Constructor Summary
NoSuchProcessingInstructionException(java.lang.String target)
           This will create an Exception indicating that the specified PI does not exist for the current element.
 
Methods inherited from class org.jdom.JDOMException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchProcessingInstructionException

public NoSuchProcessingInstructionException(java.lang.String target)

This will create an Exception indicating that the specified PI does not exist for the current element.

Parameters:
target - String target of XML PI being searched for.


Copyright © 2000 Brett McLaughlin, Jason Hunter. All Rights Reserved.