public class HomException
extends java.lang.RuntimeException
This is exception is typically thrown in case of a fatal error whenever this is thrown it means either the app can not launch or can not continue running
Modifier and Type | Method and Description |
---|---|
static void |
throwException(java.lang.String message,
java.lang.Object... arg) |
static void |
throwException(java.lang.Throwable throwable) |
public static final void throwException(java.lang.String message, java.lang.Object... arg)
message
- string formattedarg
- of the formatted stringString.format(String, Object...)
public static final void throwException(java.lang.Throwable throwable)
throwable
- to be re thrown