diff options
author | Maël Gassmann <mael.gassmann@students.bfh.ch> | 2021-06-11 01:39:49 +0200 |
---|---|---|
committer | Maël Gassmann <mael.gassmann@students.bfh.ch> | 2021-06-11 01:39:49 +0200 |
commit | 126a6c85b60ad07fa29ab48315f0f195fb45d854 (patch) | |
tree | 1c0245fc232c701da8577a5451d703a0d5808822 /calculator-java/src/main/java/ch/bfh/exceptions | |
parent | ee369b50b14ffe662e05355459f57c076680cd58 (diff) |
[+] First version of the java calculator
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 |