org.onemind.jxp
Class ProcessingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.onemind.jxp.ProcessingException
All Implemented Interfaces:
java.io.Serializable

public class ProcessingException
extends java.lang.Exception

A processing exception

Author:
TiongHiang Lee (thlee@onemindsoft.org)
See Also:
Serialized Form

Field Summary
private  SimpleNode _errNode
          the error node *
private  JxpPage _page
          the page that has problem *
 
Constructor Summary
ProcessingException(JxpPage page, java.lang.String message)
          Constructor
ProcessingException(JxpPage page, java.lang.String message, SimpleNode errNode)
          Constructor
ProcessingException(JxpPage page, java.lang.String message, java.lang.Throwable cause)
          Constructor
ProcessingException(JxpPage page, java.lang.String message, java.lang.Throwable cause, SimpleNode errNode)
          Constructor
ProcessingException(JxpPage page, java.lang.Throwable cause, SimpleNode errNode)
          Constructor
 
Method Summary
 SimpleNode getErrNode()
          Get the error node
 java.lang.String getMessage()
          
 void setErrNode(SimpleNode node)
          Set the error node
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_page

private JxpPage _page
the page that has problem *


_errNode

private SimpleNode _errNode
the error node *

Constructor Detail

ProcessingException

public ProcessingException(JxpPage page,
                           java.lang.String message)
Constructor

Parameters:
page - the page that cause the exception
message - the message

ProcessingException

public ProcessingException(JxpPage page,
                           java.lang.String message,
                           java.lang.Throwable cause)
Constructor

Parameters:
page - the page that cause the exception
message - the message
cause - the cause

ProcessingException

public ProcessingException(JxpPage page,
                           java.lang.String message,
                           java.lang.Throwable cause,
                           SimpleNode errNode)
Constructor

Parameters:
page - the page that cause the exception
message - the message
cause - the cause
errNode - the error node

ProcessingException

public ProcessingException(JxpPage page,
                           java.lang.String message,
                           SimpleNode errNode)
Constructor

Parameters:
page - the page that cause the exception
message - the message
errNode - the error node

ProcessingException

public ProcessingException(JxpPage page,
                           java.lang.Throwable cause,
                           SimpleNode errNode)
Constructor

Parameters:
page - the page that cause the exception
cause - the cause
errNode - the error node
Method Detail

getErrNode

public final SimpleNode getErrNode()
Get the error node

Returns:
the node

setErrNode

public final void setErrNode(SimpleNode node)
Set the error node

Parameters:
node - the node

getMessage

public final java.lang.String getMessage()

Overrides:
getMessage in class java.lang.Throwable