diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-02-22 19:31:37 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-02-22 19:31:37 +0530 |
| commit | ae4cf7c9f0a0b90d02166b43402e67b7d4ad4dca (patch) | |
| tree | ac50c582a3600917ce9e4eee0387995c2615ec28 /java/12-error-handling-2/MathsTest5.java | |
| parent | 530141c542ab3b44991f05016e66db651795e9c9 (diff) | |
Renamed directory 12-error-handling-2 to 11-error-handling-2
Diffstat (limited to 'java/12-error-handling-2/MathsTest5.java')
| -rw-r--r-- | java/12-error-handling-2/MathsTest5.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/java/12-error-handling-2/MathsTest5.java b/java/12-error-handling-2/MathsTest5.java deleted file mode 100644 index 56bf64d..0000000 --- a/java/12-error-handling-2/MathsTest5.java +++ /dev/null @@ -1,21 +0,0 @@ -public class MathsTest5 { - - /** - * @param args - */ - public static void main(String[] args) throws Exception { - Maths m = new Maths(); - int result = 0; - - try { - result = m.factorial(-5); - } catch (MathsException me) { - throw new Exception("My exception wrapper", me); - } finally { - System.out.println("Inside finally block"); - } - - System.out.println(result); - } - -} |
