public class BadBinaryOpValueExpException extends Exception
Constructor | Description |
---|---|
BadBinaryOpValueExpException(ValueExp exp) |
Constructs a
BadBinaryOpValueExpException with the specified ValueExp . |
Modifier and Type | Method | Description |
---|---|---|
ValueExp |
getExp() |
Returns the
ValueExp that originated the exception. |
String |
toString() |
Returns the string representing the object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public BadBinaryOpValueExpException(ValueExp exp)
BadBinaryOpValueExpException
with the specified ValueExp
.exp
- the expression whose value was inappropriate.