aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/com/jantuomi/tunkki/exception/ExceptionManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/com/jantuomi/tunkki/exception/ExceptionManager.java')
-rw-r--r--src/main/com/jantuomi/tunkki/exception/ExceptionManager.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/com/jantuomi/tunkki/exception/ExceptionManager.java b/src/main/com/jantuomi/tunkki/exception/ExceptionManager.java
index 9cfdd2e..b26c3b0 100644
--- a/src/main/com/jantuomi/tunkki/exception/ExceptionManager.java
+++ b/src/main/com/jantuomi/tunkki/exception/ExceptionManager.java
@@ -1,5 +1,7 @@
package com.jantuomi.tunkki.exception;
+import com.jantuomi.tunkki.exception.types.TunkkiError;
+
/**
* Created by jan on 10.6.2016.
*/
@@ -13,9 +15,4 @@ public class ExceptionManager {
public static ExceptionManager getInstance() {
return instance;
}
-
- public static void raise(TunkkiError.ExceptionType ex, int line, String... args) throws TunkkiError {
- TunkkiError e = new TunkkiError(ex, line, args);
- throw e;
- }
}