aboutsummaryrefslogtreecommitdiff
path: root/calculator-java/src/main/java/exceptions/LexerException.java
diff options
context:
space:
mode:
authorMaël Gassmann <mael.gassmann@students.bfh.ch>2021-06-10 16:02:29 +0200
committerMaël Gassmann <mael.gassmann@students.bfh.ch>2021-06-10 16:02:29 +0200
commitee369b50b14ffe662e05355459f57c076680cd58 (patch)
treed9ee2f9af7b30f238dd0e9edf1edeb969dd26428 /calculator-java/src/main/java/exceptions/LexerException.java
parenta657a82b01d958cc8d8a30268b3febe1eb124a77 (diff)
[+] Basic stucture of the java calculator
Diffstat (limited to 'calculator-java/src/main/java/exceptions/LexerException.java')
-rw-r--r--calculator-java/src/main/java/exceptions/LexerException.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/calculator-java/src/main/java/exceptions/LexerException.java b/calculator-java/src/main/java/exceptions/LexerException.java
new file mode 100644
index 0000000..b7b1f24
--- /dev/null
+++ b/calculator-java/src/main/java/exceptions/LexerException.java
@@ -0,0 +1,5 @@
+package exceptions;
+
+public class LexerException extends RuntimeException {
+ public LexerException(String s) { super(s); }
+} \ No newline at end of file