summaryrefslogtreecommitdiff
path: root/dice/src/example/java/bjc/dicelang/neodice/DieBoxException.java
diff options
context:
space:
mode:
authorBen Culkin <scorpress@gmail.com>2020-11-21 18:04:20 -0500
committerBen Culkin <scorpress@gmail.com>2020-11-21 18:04:20 -0500
commit3ddd062d60d621971af59b480ba70e8bf9e705f1 (patch)
tree8d24f91e4f695a526777b5fe75fe268669b8c9a6 /dice/src/example/java/bjc/dicelang/neodice/DieBoxException.java
parent2afb54eecd8e8b5d663a05131c07c6b8d15e65ba (diff)
Rudimentary CLI for new die implementation
Diffstat (limited to 'dice/src/example/java/bjc/dicelang/neodice/DieBoxException.java')
-rw-r--r--dice/src/example/java/bjc/dicelang/neodice/DieBoxException.java29
1 files changed, 29 insertions, 0 deletions
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