public final class ExecutorExceptionHandler extends Object
Constructor and Description |
---|
ExecutorExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
static void |
handleException(Exception exception)
Handle exception.
|
static boolean |
isExceptionThrown()
Get throw exception if error occur or not.
|
static void |
setExceptionThrown(boolean isExceptionThrown)
Set throw exception if error occur or not.
|
public static void setExceptionThrown(boolean isExceptionThrown)
isExceptionThrown
- throw exception if error occur or notpublic static boolean isExceptionThrown()
public static void handleException(Exception exception) throws SQLException
exception
- to be handled exceptionSQLException
- SQL exceptionCopyright © 2018. All rights reserved.