de.congrace.exp4j
Class UnparsableExpressionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.congrace.exp4j.UnparsableExpressionException
All Implemented Interfaces:
Serializable

public class UnparsableExpressionException
extends Exception

Exception for invalid expressions

Author:
fas@congrace.de
See Also:
Serialized Form

Constructor Summary
UnparsableExpressionException(String msg)
          construct a new UnparsableExpressionException
UnparsableExpressionException(String expression, char c, int pos)
          construct a new UnparsableExpressionException
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnparsableExpressionException

public UnparsableExpressionException(String expression,
                                     char c,
                                     int pos)
construct a new UnparsableExpressionException

Parameters:
c - the character which could not be parsed
pos - the position of the character in the expression

UnparsableExpressionException

public UnparsableExpressionException(String msg)
construct a new UnparsableExpressionException

Parameters:
msg - the error message


Copyright © 2012. All Rights Reserved.