public class EtlException
extends Exception
| Modifier and Type | Field and Description |
|---|---|
static String |
DESTINATION_TYPE
The destination type.
|
static String |
SOURCE_TYPE
The source type.
|
static String |
TASK_TYPE
The task type.
|
static String |
VARIABLE_TYPE
The variable type.
|
| Constructor and Description |
|---|
EtlException(Throwable th,
String name,
String type,
Point location)
Instantiates a new etl exception.
|
EtlException(Throwable th,
String scenarioName,
String blockName,
String taskName,
Map<String,String> loopProperties)
Instantiates a new etl exception.
|
EtlException(Throwable th,
String scenarioName,
String blockName,
String taskName,
String reason,
boolean warning)
Instantiates a new etl exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBlockName()
Gets the block name.
|
static EtlException |
getEtlException(Throwable ex)
Gets the etl exception from the stack trace.
|
static EtlException |
getEtlException(Throwable th,
String scenarioName,
String blockName,
String taskName,
String reason,
boolean warning)
Gets the etl exception.
|
Point |
getLocation()
Gets the error location.
|
Map<String,String> |
getLoopProperties()
Gets the loop properties.
|
String |
getName()
Gets the owner's name.
|
String |
getReason()
Gets the reason.
|
String |
getScenarioName()
Gets the scenario name.
|
String |
getTaskName()
Gets the task name.
|
String |
getType()
Gets the owner's type.
|
boolean |
isWarning()
Checks if is warning.
|
void |
setBlockName(String blockName)
Sets the block name.
|
void |
setLoopProperties(Map<String,String> loopProperties)
Sets the loop properties.
|
void |
setReason(String reason)
Sets the reason.
|
void |
setScenarioName(String scenarioName)
Sets the scenario name.
|
void |
setTaskName(String taskName)
Sets the task name.
|
void |
setWarning(boolean warning)
Sets the warning.
|
public static String SOURCE_TYPE
public static String DESTINATION_TYPE
public static String TASK_TYPE
public static String VARIABLE_TYPE
public EtlException(Throwable th,
String name,
String type,
Point location)
th - the parent throwablename - the owner's nametype - the type the owner's type (source, destination, task,
variable)location - the location the error locationpublic EtlException(Throwable th,
String scenarioName,
String blockName,
String taskName,
String reason,
boolean warning)
th - the parent throwablescenarioName - the scenario nameblockName - the block nametaskName - the task namereason - the reasonwarning - the warningpublic EtlException(Throwable th,
String scenarioName,
String blockName,
String taskName,
Map<String,String> loopProperties)
th - the parent throwablescenarioName - the scenario nameblockName - the block nametaskName - the task namepublic static EtlException getEtlException(Throwable ex)
ex - the top level exceptionpublic static EtlException getEtlException(Throwable th, String scenarioName, String blockName, String taskName, String reason, boolean warning)
th - the thscenarioName - the scenario nameblockName - the block nametaskName - the task namereason - the reasonwarning - the warningpublic Point getLocation()
public String getName()
public String getType()
public String getScenarioName()
public void setScenarioName(String scenarioName)
scenarioName - the new scenario namepublic String getBlockName()
public void setBlockName(String blockName)
blockName - the new block namepublic String getTaskName()
public void setTaskName(String taskName)
taskName - the new task namepublic Map<String,String> getLoopProperties()
public void setLoopProperties(Map<String,String> loopProperties)
loopProperties - the loop propertiespublic String getReason()
public void setReason(String reason)
reason - the new reasonpublic boolean isWarning()
public void setWarning(boolean warning)
warning - the new warningCopyright © 2010-2020 Toolsverse. All Rights Reserved.