Building Parsers with Java

sjm.examples.arithmetic
Class ArithmeticExpressionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--sjm.examples.arithmetic.ArithmeticExpressionException

public class ArithmeticExpressionException
extends java.lang.Exception

Signals that a given string is not recognizable as an arthmetic expression.

See Also:
Serialized Form

Constructor Summary
ArithmeticExpressionException()
          Constructs a ArithmeticExpressionException with no detail message.
ArithmeticExpressionException(java.lang.String s)
          Constructs a ArithmeticExpressionException with the specified detail message.
 
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

ArithmeticExpressionException

public ArithmeticExpressionException()
Constructs a ArithmeticExpressionException with no detail message.

ArithmeticExpressionException

public ArithmeticExpressionException(java.lang.String s)
Constructs a ArithmeticExpressionException with the specified detail message.
Parameters:
String - the detail message.

by Steve Metsker