public class Exceptions extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
throwException(State state,
Value v,
GenericSolver.SolverInterface c,
AbstractNode source,
CallContext context)
Models an exception being thrown at the given node.
|
static void |
throwRangeError(State state,
GenericSolver.SolverInterface c)
Models a RangeError exception being thrown at the current node.
|
static void |
throwReferenceError(State state,
GenericSolver.SolverInterface c)
Models a ReferenceError exception being thrown at the current node.
|
static void |
throwSyntaxError(State state,
GenericSolver.SolverInterface c)
Models a SyntaxError exception being thrown at the current node.
|
static void |
throwTypeError(State state,
GenericSolver.SolverInterface c)
Models a TypeError exception being thrown at the current node.
|
public static void throwException(State state, Value v, GenericSolver.SolverInterface c, AbstractNode source, CallContext context)
public static void throwRangeError(State state, GenericSolver.SolverInterface c)
public static void throwReferenceError(State state, GenericSolver.SolverInterface c)
public static void throwSyntaxError(State state, GenericSolver.SolverInterface c)
public static void throwTypeError(State state, GenericSolver.SolverInterface c)
Copyright © 2012 Aarhus University