Package cs2110
Class IncompleteRpnException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cs2110.IncompleteRpnException
- All Implemented Interfaces:
Serializable
Indicates that an expression string could not be parsed as RPN to yield an expression.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIncompleteRpnException
(String expression, int stackDepth) Create an IncompleteRpnException indicating that `expression` could not be parsed as RPN and that the expression stack had a size of `stackDepth` at the conclusion of parsing. -
Method Summary
Modifier and TypeMethodDescriptionThe expression string that parsing was attempted on.int
The size of the expression stack at the conclusion of parsing.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString