From ae4cf7c9f0a0b90d02166b43402e67b7d4ad4dca Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sun, 22 Feb 2026 19:31:37 +0530 Subject: Renamed directory 12-error-handling-2 to 11-error-handling-2 --- java/11-error-handling-2/MathsException.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 java/11-error-handling-2/MathsException.java (limited to 'java/11-error-handling-2/MathsException.java') diff --git a/java/11-error-handling-2/MathsException.java b/java/11-error-handling-2/MathsException.java new file mode 100644 index 0000000..bdbaf81 --- /dev/null +++ b/java/11-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 + } + +} -- cgit v1.2.3