Package org.rascalmpl.interpreter.control_exceptions

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


  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

  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

  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

//      AbstractAST ast, StackTrace trace) {
//    return new Throw(IllegalIdentifier.make(VF, VF.string(name)), ast, trace);
//  }
 
  public static Throw illegalTypeArgument(String type, AbstractAST ast, StackTrace trace, String message){
    return new Throw(VF.constructor(IllegalTypeArgument,VF.string(type),VF.string(message)), ast, trace)
  }
View Full Code Here

  public static Throw illegalTypeArgument(String type, AbstractAST ast, StackTrace trace, String message){
    return new Throw(VF.constructor(IllegalTypeArgument,VF.string(type),VF.string(message)), ast, trace)
  }
 
  public static Throw illegalTypeArgument(String type, AbstractAST ast, StackTrace trace){
    return new Throw(VF.constructor(IllegalTypeArgument,VF.string(type), VF.string("")), ast, trace)
  }
View Full Code Here

  public static Throw illegalTypeArgument(String type, AbstractAST ast, StackTrace trace){
    return new Throw(VF.constructor(IllegalTypeArgument,VF.string(type), VF.string("")), ast, trace)
  }
 
  public static Throw implodeError(String msg, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(ImplodeError, VF.string(msg)), ast, trace);
  }
View Full Code Here

  public static Throw implodeError(String msg, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(ImplodeError, VF.string(msg)), ast, trace);
  }

  public static Throw invalidUseOfLocation(String msg, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(InvalidUseOfLocation, VF.string(msg)), ast, trace);
 
View Full Code Here

TOP

Related Classes of org.rascalmpl.interpreter.control_exceptions.Throw

Copyright © 2018 www.massapicom. 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.