Class ExecutionHelper
- java.lang.Object
-
- org.teichert.databaseexplorer.utils.ExecutionHelper
-
public final class ExecutionHelper extends Object
The ExecutionHelper is a cache for the current SQL-execution-error.
This will be used in theDatabaseController
and shows after all executions the resulted errors if some exists in a gui component.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
addExecutionCount(String sql, Integer count)
String
addThrowableMsg(String sql, Exception e)
String
addThrowableMsg(String sql, String throwableMsg)
void
clearExecutionCount()
void
clearThrowableMsg()
static ExecutionHelper
getInstance()
Map<String,Integer>
getMapOfExecutionCount()
Map<String,String>
getMapOfExecutionExceptions()
Integer
removeExecutionCount(String sql)
String
removeThrowableMsg(String sql)
-
-
-
Method Detail
-
getInstance
public static ExecutionHelper getInstance()
-
clearThrowableMsg
public void clearThrowableMsg()
-
clearExecutionCount
public void clearExecutionCount()
-
-