org.openxml.x3p
Class ProcessorException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.openxml.x3p.ProcessorException
- public class ProcessorException
- extends java.lang.Exception
An execption that occured while processing a document or a node.
This exception class adds a reference to the node or node tree being
processed and the processor responsible for the exception, for easier
tracking of processor logic.
- Version:
- $Revision: 1.5 $ $Date: 1999/04/12 06:12:43 $
- Author:
- Assaf Arkin
- See Also:
Processor
, Serialized Form
Constructor Summary |
ProcessorException(Node node,
java.lang.String message)
Constructor for an exception raised when processing the specified node
by the processor. |
ProcessorException(ProcessorEngine engine,
Node node,
java.lang.String message)
Constructor for an exception raised when processing the specified node
by the specified engine. |
ProcessorException(java.lang.String message)
Constructor for general processor exception not associated with any engine. |
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 |
ProcessorException
public ProcessorException(ProcessorEngine engine,
Node node,
java.lang.String message)
- Constructor for an exception raised when processing the specified node
by the specified engine.
- Parameters:
engine
- The processor engine that raised this exception.node
- The node at which this exception was raisedmessage
- A descriptive exception message
ProcessorException
public ProcessorException(Node node,
java.lang.String message)
- Constructor for an exception raised when processing the specified node
by the processor.
- Parameters:
node
- The node at which this exception was raisedmessage
- A descriptive exception message
ProcessorException
public ProcessorException(java.lang.String message)
- Constructor for general processor exception not associated with any engine.
- Parameters:
message
- A descriptive exception message
getNode
public Node getNode()
- Returns the node at which this exception was raised. This may be a node
the could not be processed, the tree top node, or the document being
processed.
- Returns:
- The node at which the exception was raised
getEngine
public ProcessorEngine getEngine()
- Returns the processor engine that raised this exception. If the exception
was raised by an engine, this method will return the responsible engine.
If the exception was raised by the processor, this method will return null.
- Returns:
- The processor engine that raised this exception