Package org.pentaho.di.core.exception
Class KettleDatabaseBatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleDatabaseException
org.pentaho.di.core.exception.KettleDatabaseBatchException
- All Implemented Interfaces:
Serializable
This exception is used by the Database class.
- Since:
- 9-12-2004
- Author:
- Matt
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs 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.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
Modifier and TypeMethodDescriptionint[]
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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
KettleDatabaseBatchException
public KettleDatabaseBatchException()Constructs a new throwable with null as its detail message. -
KettleDatabaseBatchException
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
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
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 Details
-
getUpdateCounts
public int[] getUpdateCounts()- Returns:
- Returns the updateCounts.
-
setUpdateCounts
public void setUpdateCounts(int[] updateCounts) - Parameters:
updateCounts
- The updateCounts to set.
-
setExceptionsList
-
getExceptionsList
-