Examples of Throw


Examples of org.rascalmpl.interpreter.control_exceptions.Throw

  public static Throw moduleNotFound(IString module, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(ModuleNotFound, module), ast, trace);
  }
 
  public static Throw noSuchAnnotation(String label, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(NoSuchAnnotation, VF.string(label)), ast, trace);
  }
View Full Code Here

Examples of org.rascalmpl.interpreter.control_exceptions.Throw

  }

 

  public static Throw noSuchKey(IValue v, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(NoSuchKey, v), ast, trace);
  }
View Full Code Here

Examples of org.rascalmpl.interpreter.control_exceptions.Throw

  public static Throw noSuchKey(IValue v, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(NoSuchKey, v), ast, trace);
  }
 
  public static Throw parseError(ISourceLocation loc, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(ParseError, loc), ast, trace);
  }
View Full Code Here

Examples of org.rascalmpl.interpreter.control_exceptions.Throw

  public static Throw parseError(ISourceLocation loc, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(ParseError, loc), ast, trace);
  }
 
  public static Throw pathNotFound(ISourceLocation loc, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(PathNotFound, loc), ast, trace);
  }
View Full Code Here

Examples of org.rascalmpl.interpreter.control_exceptions.Throw

  public static Throw pathNotFound(ISourceLocation loc, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(PathNotFound, loc), ast, trace);
  }
 
  public static Throw stackOverflow(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(StackOverflow), ast, trace);
  }
View Full Code Here

Examples of org.rascalmpl.interpreter.control_exceptions.Throw

  }
 
  // The status of the following exceptions is to be determined (alphabetical order)
 
  public static Throw arityMismatch(int expected, int got, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(ArityMismatch, VF.integer(expected), VF.integer(got)), ast, trace);
  }
View Full Code Here

Examples of org.rascalmpl.interpreter.control_exceptions.Throw

  public static Throw arityMismatch(int expected, int got, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(ArityMismatch, VF.integer(expected), VF.integer(got)), ast, trace);
  }
 
  public static Throw dateTimeParsingError(String message, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(DateTimeParsingError, VF.string(message)), ast, trace);
  }
View Full Code Here

Examples of org.rascalmpl.interpreter.control_exceptions.Throw

  public static Throw dateTimeParsingError(String message, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(DateTimeParsingError, VF.string(message)), ast, trace);
  }
 
  public static Throw dateTimePrintingError(String message, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(DateTimePrintingError, VF.string(message)), ast, trace);
 
View Full Code Here

Examples of org.rascalmpl.interpreter.control_exceptions.Throw

  public static Throw dateTimePrintingError(String message, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(DateTimePrintingError, VF.string(message)), ast, trace);
 
 
  public static Throw figureException(String message, IValue v, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(Figure, VF.string(message), v), ast, trace);
  }
View Full Code Here

Examples of org.rascalmpl.interpreter.control_exceptions.Throw

  public static Throw figureException(String message, IValue v, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(Figure, VF.string(message), v), ast, trace);
  }
 
  public static Throw illegalCharacter(IInteger i, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(IllegalChar, i), ast, trace);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.