de.mguennewig.pobjimport
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.mguennewig.pobjimport.ParserException
All Implemented Interfaces:
java.io.Serializable

public final class ParserException
extends java.lang.Exception

Signals that an error has been detected while parsing a file.

Author:
Michael Günnewig
See Also:
Serialized Form

Constructor Summary
ParserException(java.lang.Exception cause, java.lang.String msgKey, java.lang.Object... msgParams)
          Creates a new parser exception that is associated with an exception.
ParserException(org.w3c.dom.Node node, java.lang.String msgKey, java.lang.Object... msgParams)
          Creates a new parser exception that is associated with a DOM node.
 
Method Summary
 java.lang.String getMsgKey()
           
 java.lang.Object[] getMsgParams()
           
 org.w3c.dom.Node getNode()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParserException

public ParserException(org.w3c.dom.Node node,
                       java.lang.String msgKey,
                       java.lang.Object... msgParams)
Creates a new parser exception that is associated with a DOM node.


ParserException

public ParserException(java.lang.Exception cause,
                       java.lang.String msgKey,
                       java.lang.Object... msgParams)
Creates a new parser exception that is associated with an exception.

Method Detail

getNode

public org.w3c.dom.Node getNode()

getMsgKey

public java.lang.String getMsgKey()

getMsgParams

public java.lang.Object[] getMsgParams()