public static Thrown invalidUseOfDateTimeException(String message, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(InvalidUseOfDateTime, VF.string(message)), stacktrace); }
public static Thrown parseError(ISourceLocation parseloc, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(ParseError, parseloc), stacktrace); }
public static Thrown invalidUseOfLocation(String msg, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(InvalidUseOfLocation, VF.string(msg)), stacktrace); }
public static Thrown assertionFailed(ISourceLocation loc, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(AssertionFailed), loc, stacktrace); }
public static Thrown noSuchKey(IValue v, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(NoSuchKey, v), stacktrace); }
public static Thrown noSuchField(String name, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(NoSuchField, VF.string(name)), stacktrace); }
public static Thrown uninitializedVariable(String name, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(UninitializedVariable, VF.string(name)), stacktrace); }
public static Thrown indexOutOfBounds(IInteger i, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(IndexOutOfBounds, i), stacktrace); }
public static Thrown io(IString msg, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(IO, msg), stacktrace); }
public static Thrown illegalArgument(IValue v, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(IllegalArgument), stacktrace); }
public static Thrown illegalArgument(IValue v, List<Frame> stacktrace, String message) { return Thrown.getInstance(VF.constructor(IllegalArgument, v, VF.string(message)), stacktrace); }
public static Thrown illegalArgument(List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(AnonymousIllegalArgument), stacktrace); }
public static Thrown emptyMap(List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(EmptyMap), stacktrace); }
public static Thrown assertionFailed(IString msg, ISourceLocation loc, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(LabeledAssertionFailed, msg), loc, stacktrace); }
public static Thrown malformedURI(String uri, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(MalFormedURI, VF.string(uri)), stacktrace); }
private static Thrown javaException( String clazz, String message, ISourceLocation loc, List<Frame> stacktrace) { return Thrown.getInstance( VF.constructor(Java, VF.string(clazz), VF.string(message)), loc, stacktrace); }
public static Thrown noParent(ISourceLocation noparentloc, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(NoParent, noparentloc), stacktrace); }
public static Thrown noMainFunction(List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(NoMainFunction), stacktrace); }
public static Thrown unavailableInformation(String message, List<Frame> stacktrace) { return Thrown.getInstance( VF.constructor(UnavailableInformation, VF.string(message)), stacktrace); }
public static Thrown noSuchAnnotation(String label, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(NoSuchAnnotation, VF.string(label)), stacktrace); }
public static Thrown RegExpSyntaxError(String message, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(RegExpSyntaxError, VF.string(message)), stacktrace); }
public static Thrown arithmeticException(String msg, List<Frame> stacktrace) { return Thrown.getInstance(VF.constructor(ArithmeticException, VF.string(msg)), stacktrace); }