- java.lang.Object
-
- life.expert.common.base.ApplicationUtils
-
public final class ApplicationUtils extends java.lang.Objecthelper methods for the main cycle of the application
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFATAL_MESSAGEsome constant
-
Constructor Summary
Constructors Constructor Description ApplicationUtils()
-
Method Summary
Modifier and Type Method Description static voidfatalError(java.lang.Throwable throwable)general info: handler for unprocessed situations side effects: - print and log messages - close JVM
-
-
-
Field Detail
-
FATAL_MESSAGE
public static final java.lang.String FATAL_MESSAGE
some constant- See Also:
- Constant Field Values
-
-
Method Detail
-
fatalError
public static void fatalError(java.lang.Throwable throwable)
general info: handler for unprocessed situations side effects: - print and log messages - close JVMtry{ //some code } catch (TheCheckedException e) { e.printStackTrace(); // Oh well, we lose. fatalError(); }**- Parameters:
throwable- the throwable
-
-