AssertionError

extends Exception

Represents an assertion error.

Constructors

AssertionError other, Node deep expr = other.expr; msg = other.msg; Node expr, Node message this.expr = expr.stringValue(); msg = message.stringValue(); Node expr this.expr = expr.stringValue(); msg = "Assertion Failed";

Type Functions

expression()

Get a string representation of the assertion expression that failed.

message()

Retrieve the assertion message.

string()

Functions inherited from Exception