math.numerics
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by math.numerics.ParserException
All Implemented Interfaces:
java.io.Serializable

public final class ParserException
extends java.lang.Exception

Indicates that an error occured in parser operation, and the operation could not be completed. Used internally in Parser class.

See Also:
Parser, Serialized Form

Constructor Summary
ParserException(int code)
          The constructor of ParserException.
ParserException(java.lang.String msg)
           
 
Method Summary
 int getErrorCode()
          Gets the error code.
 
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(int code)
The constructor of ParserException.

Parameters:
code - the error code

ParserException

public ParserException(java.lang.String msg)
Method Detail

getErrorCode

public int getErrorCode()
Gets the error code.

Returns:
the error code