diff options
Diffstat (limited to 'calculator-java/src/main/java/ch/bfh/exceptions')
-rw-r--r-- | calculator-java/src/main/java/ch/bfh/exceptions/LexerException.java | 5 | ||||
-rw-r--r-- | calculator-java/src/main/java/ch/bfh/exceptions/ParserException.java | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/calculator-java/src/main/java/ch/bfh/exceptions/LexerException.java b/calculator-java/src/main/java/ch/bfh/exceptions/LexerException.java new file mode 100644 index 0000000..082beee --- /dev/null +++ b/calculator-java/src/main/java/ch/bfh/exceptions/LexerException.java @@ -0,0 +1,5 @@ +package ch.bfh.exceptions; + +public class LexerException extends RuntimeException { + public LexerException(String s) { super(s); } +}
\ No newline at end of file diff --git a/calculator-java/src/main/java/ch/bfh/exceptions/ParserException.java b/calculator-java/src/main/java/ch/bfh/exceptions/ParserException.java new file mode 100644 index 0000000..ca6d037 --- /dev/null +++ b/calculator-java/src/main/java/ch/bfh/exceptions/ParserException.java @@ -0,0 +1,5 @@ +package ch.bfh.exceptions; + +public class ParserException extends RuntimeException { + public ParserException(String s) { super(s); } +}
\ No newline at end of file |