From 3ddd062d60d621971af59b480ba70e8bf9e705f1 Mon Sep 17 00:00:00 2001 From: Ben Culkin Date: Sat, 21 Nov 2020 18:04:20 -0500 Subject: Rudimentary CLI for new die implementation --- .../java/bjc/dicelang/neodice/DieBoxException.java | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dice/src/example/java/bjc/dicelang/neodice/DieBoxException.java (limited to 'dice/src/example/java/bjc/dicelang/neodice/DieBoxException.java') diff --git a/dice/src/example/java/bjc/dicelang/neodice/DieBoxException.java b/dice/src/example/java/bjc/dicelang/neodice/DieBoxException.java new file mode 100644 index 0000000..efa3d54 --- /dev/null +++ b/dice/src/example/java/bjc/dicelang/neodice/DieBoxException.java @@ -0,0 +1,29 @@ +package bjc.dicelang.neodice; + +public class DieBoxException extends RuntimeException { + private static final long serialVersionUID = 1851356458656622896L; + + public DieBoxException() { + super(); + } + + public DieBoxException(String message) { + super(message); + } + + public DieBoxException(String format, Object... args) { + super(String.format(format, args)); + } + + public DieBoxException(Throwable cause) { + super(cause); + } + + public DieBoxException(Throwable cause, String message) { + super(message, cause); + } + + public DieBoxException(Throwable cause, String format, Object... args) { + super(String.format(format, args), cause); + } +} \ No newline at end of file -- cgit v1.2.3