net.ajaest.jdk.core.main
Class ExceptionHandler
java.lang.Object
net.ajaest.jdk.core.main.ExceptionHandler
public class ExceptionHandler
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jdk
private static JavaDiKt jdk
ExceptionHandler
public ExceptionHandler()
setJavaDiKt
public static void setJavaDiKt(JavaDiKt jdk)
handleException
public static boolean handleException(java.lang.Exception e)
handleException
public static boolean handleException(java.lang.Exception e,
ExceptionHandler.KNOWN_EXCEPTIONS info)
- Parameters:
e
-
- Returns:
- true if the exception causes the program to exit, false otherwise
handleRuntimeException
private static boolean handleRuntimeException(java.lang.RuntimeException e,
ExceptionHandler.KNOWN_EXCEPTIONS info)
- Parameters:
e
-
- Returns:
- true if the exception causes the program to exit, false otherwise
handleNoRuntimeException
private static boolean handleNoRuntimeException(java.lang.Exception e,
ExceptionHandler.KNOWN_EXCEPTIONS info)
- Parameters:
e
-
- Returns:
- true if the exception causes the program to exit, false otherwise
handleNoRuntimeException
private static boolean handleNoRuntimeException(java.lang.Exception e)
- Parameters:
e
-
- Returns:
- true if the exception causes the program to exit, false otherwise
handleRuntimeException
private static boolean handleRuntimeException(java.lang.RuntimeException e)