public class DatabaseLogExceptionFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KETTLE_GLOBAL_PROP_NAME |
Constructor and Description |
---|
DatabaseLogExceptionFactory() |
Modifier and Type | Method and Description |
---|---|
static LogExceptionBehaviourInterface |
getExceptionStrategy(LogTableCoreInterface table)
Returns throw exception strategy depends on defined behavior.
|
public static final String KETTLE_GLOBAL_PROP_NAME
public static LogExceptionBehaviourInterface getExceptionStrategy(LogTableCoreInterface table)
Returns throw exception strategy depends on defined behavior. Default is suppress exception.
This behavior can be overridden with 'kettle.properties' key-value using 'Edit Kettle.properties file' in Spoon or other.
Following this strategy - System.getProperty(String key)
call will be used to check if key-value pair
is defined. If not found default behavior will be used. If not found and value is TRUE/Y - throwable behavior will
be used.
variables
- local variablestable
- logging table that participated in exception. Must be instance of LogTableTypeInterface
, otherwise
default suppress exception behavior will be used.org.pentaho.di.core.Const#KETTLE_VARIABLES_FILE}