org.pentaho.di.core.exception
Class KettleDatabaseBatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.pentaho.di.core.exception.KettleException
              extended by org.pentaho.di.core.exception.KettleDatabaseException
                  extended by org.pentaho.di.core.exception.KettleDatabaseBatchException
All Implemented Interfaces:
Serializable

public class KettleDatabaseBatchException
extends KettleDatabaseException

This exception is used by the Database class.

Since:
9-12-2004
Author:
Matt
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
KettleDatabaseBatchException()
          Constructs a new throwable with null as its detail message.
KettleDatabaseBatchException(String message)
          Constructs a new throwable with the specified detail message.
KettleDatabaseBatchException(String message, Throwable cause)
          Constructs a new throwable with the specified detail message and cause.
KettleDatabaseBatchException(Throwable cause)
          Constructs a new throwable with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
 
Method Summary
 List<Exception> getExceptionsList()
           
 int[] getUpdateCounts()
           
 void setExceptionsList(List<Exception> exceptionsList)
           
 void setUpdateCounts(int[] updateCounts)
           
 
Methods inherited from class org.pentaho.di.core.exception.KettleException
getMessage, getSuperMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

KettleDatabaseBatchException

public KettleDatabaseBatchException()
Constructs a new throwable with null as its detail message.


KettleDatabaseBatchException

public KettleDatabaseBatchException(String message)
Constructs a new throwable with the specified detail message.

Parameters:
message - - the detail message. The detail message is saved for later retrieval by the getMessage() method.

KettleDatabaseBatchException

public KettleDatabaseBatchException(Throwable cause)
Constructs a new throwable with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
cause - the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

KettleDatabaseBatchException

public KettleDatabaseBatchException(String message,
                                    Throwable cause)
Constructs a new throwable with the specified detail message and cause.

Parameters:
message - the detail message (which is saved for later retrieval by the getMessage() method).
cause - the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Method Detail

getUpdateCounts

public int[] getUpdateCounts()
Returns:
Returns the updateCounts.

setUpdateCounts

public void setUpdateCounts(int[] updateCounts)
Parameters:
updateCounts - The updateCounts to set.

setExceptionsList

public void setExceptionsList(List<Exception> exceptionsList)

getExceptionsList

public List<Exception> getExceptionsList()