コード例 #1
0
 public static Thrown invalidUseOfDateTimeException(String message, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(InvalidUseOfDateTime, VF.string(message)), stacktrace);
 }
コード例 #2
0
 public static Thrown parseError(ISourceLocation parseloc, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(ParseError, parseloc), stacktrace);
 }
コード例 #3
0
 public static Thrown invalidUseOfLocation(String msg, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(InvalidUseOfLocation, VF.string(msg)), stacktrace);
 }
コード例 #4
0
 public static Thrown assertionFailed(ISourceLocation loc, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(AssertionFailed), loc, stacktrace);
 }
コード例 #5
0
 public static Thrown noSuchKey(IValue v, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(NoSuchKey, v), stacktrace);
 }
コード例 #6
0
 public static Thrown noSuchField(String name, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(NoSuchField, VF.string(name)), stacktrace);
 }
コード例 #7
0
 public static Thrown uninitializedVariable(String name, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(UninitializedVariable, VF.string(name)), stacktrace);
 }
コード例 #8
0
 public static Thrown indexOutOfBounds(IInteger i, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(IndexOutOfBounds, i), stacktrace);
 }
コード例 #9
0
 public static Thrown io(IString msg, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(IO, msg), stacktrace);
 }
コード例 #10
0
 public static Thrown illegalArgument(IValue v, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(IllegalArgument), stacktrace);
 }
コード例 #11
0
 public static Thrown illegalArgument(IValue v, List<Frame> stacktrace, String message) {
   return Thrown.getInstance(VF.constructor(IllegalArgument, v, VF.string(message)), stacktrace);
 }
コード例 #12
0
 public static Thrown illegalArgument(List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(AnonymousIllegalArgument), stacktrace);
 }
コード例 #13
0
 public static Thrown emptyMap(List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(EmptyMap), stacktrace);
 }
コード例 #14
0
 public static Thrown assertionFailed(IString msg, ISourceLocation loc, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(LabeledAssertionFailed, msg), loc, stacktrace);
 }
コード例 #15
0
 public static Thrown malformedURI(String uri, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(MalFormedURI, VF.string(uri)), stacktrace);
 }
コード例 #16
0
 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);
 }
コード例 #17
0
 public static Thrown noParent(ISourceLocation noparentloc, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(NoParent, noparentloc), stacktrace);
 }
コード例 #18
0
 public static Thrown noMainFunction(List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(NoMainFunction), stacktrace);
 }
コード例 #19
0
 public static Thrown unavailableInformation(String message, List<Frame> stacktrace) {
   return Thrown.getInstance(
       VF.constructor(UnavailableInformation, VF.string(message)), stacktrace);
 }
コード例 #20
0
 public static Thrown noSuchAnnotation(String label, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(NoSuchAnnotation, VF.string(label)), stacktrace);
 }
コード例 #21
0
 public static Thrown RegExpSyntaxError(String message, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(RegExpSyntaxError, VF.string(message)), stacktrace);
 }
コード例 #22
0
 public static Thrown arithmeticException(String msg, List<Frame> stacktrace) {
   return Thrown.getInstance(VF.constructor(ArithmeticException, VF.string(msg)), stacktrace);
 }