PreScriptException.java 323 B

1234567891011121314151617
  1. package me.hammerle.exceptions;
  2. public class PreScriptException extends RuntimeException
  3. {
  4. private final int line;
  5. public PreScriptException(String scriptName, int line, String error)
  6. {
  7. super(error);
  8. this.line = line;
  9. }
  10. public int getLine()
  11. {
  12. return line;
  13. }
  14. }