public class DataLoadSQLException extends DataLoadException
This class defines the exceptions thrown by the data load when SQL related errors occur during the processing of business object data. A DataLoadSQLException will not terminate the program execution until the error tolerance level is reached. When a DataLoadSQLException is thrown, it will be treated as 1 error encountered in the load process.
There are several places the DataLoadSQLException will be thrown:
When the DataLoadSQLException is thrown the data loader will catch it and will roll back all of the uncommitted transactions and prints the error message. If the error count reaches to the error tolerance level a summary report will be printed and the next record will be processed.
Constructor and Description |
---|
DataLoadSQLException()
This is the default constructor for this class,calls super class constructor.
|
DataLoadSQLException(java.lang.String message)
This is a constructor for this class which has one parameter.
|
DataLoadSQLException(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.
|
DataLoadSQLException(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.
|
DataLoadSQLException(java.lang.String message, java.lang.String className, java.lang.String methodName)
This is a constructor for this class which has three parameters.
|
DataLoadSQLException(java.lang.String message, java.lang.String className, java.lang.String methodName, java.sql.SQLException ex)
This is a constructor for this class which has four parameters.
|
Modifier and Type | Method and Description |
---|---|
java.sql.SQLException | getSQLException()
Gets the SQL exception.
|
public DataLoadSQLException()
public DataLoadSQLException(java.lang.String message)
public DataLoadSQLException(java.lang.String message, java.lang.String className, java.lang.String methodName)
public DataLoadSQLException(java.lang.String message, java.lang.String className, java.lang.String methodName, java.sql.SQLException ex)
public DataLoadSQLException(java.lang.String message, java.lang.Object[] param, java.lang.String className, java.lang.String methodName)
public DataLoadSQLException(java.lang.String message, java.lang.Object[] param, java.lang.String className, java.lang.String methodName, java.lang.Throwable cause)