Package org.rascalmpl.interpreter.control_exceptions

Examples of org.rascalmpl.interpreter.control_exceptions.Throw


  public static Throw arithmeticException(String msg, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(ArithmeticException, VF.string(msg)), ast, trace);
  }
 
  public static Throw assertionFailed(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(AssertionFailed), ast, trace);
  }
View Full Code Here


  public static Throw assertionFailed(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(AssertionFailed), ast, trace);
  }
 
  public static Throw assertionFailed(IString msg, AbstractAST ast, StackTrace trace) {
      return new Throw(VF.constructor(LabeledAssertionFailed, msg), ast, trace);
    }
View Full Code Here

  public static Throw assertionFailed(IString msg, AbstractAST ast, StackTrace trace) {
      return new Throw(VF.constructor(LabeledAssertionFailed, msg), ast, trace);
    }
 
  public static Throw emptyList(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(EmptyList), ast, trace);
  }
View Full Code Here

  public static Throw emptyList(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(EmptyList), ast, trace);
  }
 
  public static Throw emptySet(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(EmptySet), ast, trace);
  }
View Full Code Here

  public static Throw emptySet(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(EmptySet), ast, trace);
  }
 
  public static Throw emptyMap(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(EmptyMap), ast, trace);
  }
View Full Code Here

  public static Throw emptyMap(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(EmptyMap), ast, trace);
  }
 
  public static Throw illegalArgument(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(AnonymousIllegalArgument), ast, trace)
  }
View Full Code Here

  public static Throw illegalArgument(AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(AnonymousIllegalArgument), ast, trace)
  }
 
  public static Throw illegalArgument(IValue v, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(IllegalArgument), ast, trace)
  }
View Full Code Here

  public static Throw illegalArgument(IValue v, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(IllegalArgument), ast, trace)
  }
 
  public static Throw illegalArgument(IValue v, AbstractAST ast, StackTrace trace, String message) {
    return new Throw(VF.constructor(IllegalArgument, v, VF.string(message)), ast, trace)
  }
View Full Code Here

  }
 
 
 
  public static Throw indexOutOfBounds(IInteger i, AbstractAST ast, StackTrace trace) {
      return new Throw(VF.constructor(IndexOutOfBounds, i), ast, trace);
    }
View Full Code Here

  public static Throw indexOutOfBounds(IInteger i, AbstractAST ast, StackTrace trace) {
      return new Throw(VF.constructor(IndexOutOfBounds, i), ast, trace);
    }
 
  public static Throw io(IString msg, AbstractAST ast, StackTrace trace) {
    return new Throw(VF.constructor(IO, 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.