From c1b7f3d8758f51b6b44d64b84798f3676b115e77 Mon Sep 17 00:00:00 2001
From: Muhammad Raihan Akbar <ianakbar711@gmail.com>
Date: Wed, 5 Mar 2025 11:18:30 +0700
Subject: [PATCH] [REFACTOR] Added Api Exception for better exception handling

---
 .../authentication/exception/ApiException.java        | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 src/main/java/com/safetypin/authentication/exception/ApiException.java

diff --git a/src/main/java/com/safetypin/authentication/exception/ApiException.java b/src/main/java/com/safetypin/authentication/exception/ApiException.java
new file mode 100644
index 0000000..3892001
--- /dev/null
+++ b/src/main/java/com/safetypin/authentication/exception/ApiException.java
@@ -0,0 +1,11 @@
+package com.safetypin.authentication.exception;
+
+import java.io.IOException;
+
+public class ApiException extends IOException {
+
+    public ApiException(String message, int statusCode) {
+        super(message);
+    }
+
+}
\ No newline at end of file
-- 
GitLab