public class DataLoadApplicationException extends DataLoadException
This class defines the exceptions thrown by the DataLoad when application errors occur during the processing of business data. This is the most common exception used when adding custom mediator or reader code to data load. A DataLoadApplicationException will not terminate the program execution until the error tolerance level is reached. When a DataLoadApplicationException is thrown, it will be treated as 1 error encountered in the load process.
This exception is thrown when the dataload logic finds some problems such as certain mandatory value are missing or incorrect, or the CSV file cannot be opened. It can be thrown by any component of the dataload.
When the DataLoadApplicationException is thrown, the data loader will catch it and print the error message. If the error count reaches to the error tolerance level, a summary report will be printed and the next data loader specified in the configuration will be executed.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
DataLoadApplicationException()
This is the default constructor for this class,calls super class constructor.
|
DataLoadApplicationException(java.lang.String message)
This is a constructor for this class which has one parameter.
|
DataLoadApplicationException(java.lang.String message, java.lang.Object[] param, java.lang.String className, java.lang.String methodName)
This is a constructor for this class which has four parameters.
|
DataLoadApplicationException(java.lang.String message, java.lang.Object[] param, java.lang.String className, java.lang.String methodName, java.lang.Throwable cause)
This is a constructor for this class which has five parameters.
|
DataLoadApplicationException(java.lang.String message, java.lang.String className, java.lang.String methodName)
This is a constructor for this class which has three parameters.
|
DataLoadApplicationException(java.lang.String message, java.lang.String className, java.lang.String methodName, java.lang.Throwable cause)
This is a constructor for this class which has four parameters.
|
public static final java.lang.String COPYRIGHT
public DataLoadApplicationException()
public DataLoadApplicationException(java.lang.String message)
public DataLoadApplicationException(java.lang.String message, java.lang.String className, java.lang.String methodName)
public DataLoadApplicationException(java.lang.String message, java.lang.String className, java.lang.String methodName, java.lang.Throwable cause)
public DataLoadApplicationException(java.lang.String message, java.lang.Object[] param, java.lang.String className, java.lang.String methodName)
public DataLoadApplicationException(java.lang.String message, java.lang.Object[] param, java.lang.String className, java.lang.String methodName, java.lang.Throwable cause)