001 package sysModel.parser; 002 003 /** 004 * Exception in the parser. 005 * 006 * @author Mathias Ricken 007 */ 008 public class ParserException extends RuntimeException { 009 /** 010 * Make a new ParserException. 011 * 012 * @param s message 013 */ 014 public ParserException(String s) { 015 super(s); 016 } 017 018 /** 019 * Make a new ParserException. 020 * 021 * @param s message 022 * @param cause exception that was caught 023 */ 024 public ParserException(String s, Throwable cause) { 025 super(s, cause); 026 } 027 }