com.ibm.commerce.foundation.dataload.exception

Class DataLoadApplicationException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    PageLayoutDataLoadApplicationException


    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.

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DataLoadApplicationException

        public DataLoadApplicationException()
        This is the default constructor for this class,calls super class constructor.
      • DataLoadApplicationException

        public DataLoadApplicationException(java.lang.String message)
        This is a constructor for this class which has one parameter.
        Parameters:
        message - An DataLoadMessageKeys object used for describing the exception.
      • DataLoadApplicationException

        public DataLoadApplicationException(java.lang.String message,
                                            java.lang.String className,
                                            java.lang.String methodName)
        This is a constructor for this class which has three parameters.
        Parameters:
        message - An DataLoadMessageKeys object used for describing the exception.
        className - The name of the class that threw this DataLoadApplicationException.
        methodName - The name of the method that threw this DataLoadApplicationException.
      • DataLoadApplicationException

        public 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.
        Parameters:
        message - An DataLoadMessageKeys object used for describing the exception.
        className - The name of the class that threw this DataLoadApplicationException.
        methodName - The name of the method that threw this DataLoadApplicationException.
        cause - The exception causing at the original point of failure.
      • DataLoadApplicationException

        public 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.
        Parameters:
        message - An DataLoadMessageKeys object used for describing the exception.
        param - An Object array of parameter values to be passed to the message.
        className - The name of the class that threw this DataLoadApplicationException.
        methodName - The name of the method that threw this DataLoadApplicationException.
      • DataLoadApplicationException

        public 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.
        Parameters:
        message - An DataLoadMessageKeys object used for describing the exception.
        param - An Object array of parameter values to be passed to the message.
        className - The name of the class that threw this DataLoadApplicationException.
        methodName - The name of the method that threw this DataLoadApplicationException.
        cause - The exception causing at the original point of failure.