summaryrefslogtreecommitdiff
path: root/java/12-error-handling-2/MathsException.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/12-error-handling-2/MathsException.java')
-rw-r--r--java/12-error-handling-2/MathsException.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/java/12-error-handling-2/MathsException.java b/java/12-error-handling-2/MathsException.java
new file mode 100644
index 0000000..bdbaf81
--- /dev/null
+++ b/java/12-error-handling-2/MathsException.java
@@ -0,0 +1,22 @@
+public class MathsException extends Exception {
+
+ public MathsException() {
+ // TODO Auto-generated constructor stub
+ }
+
+ public MathsException(String message) {
+ super(message);
+ // TODO Auto-generated constructor stub
+ }
+
+ public MathsException(Throwable cause) {
+ super(cause);
+ // TODO Auto-generated constructor stub
+ }
+
+ public MathsException(String message, Throwable cause) {
+ super(message, cause);
+ // TODO Auto-generated constructor stub
+ }
+
+}