Package oracle.soda
Class OracleBatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- oracle.soda.OracleException
-
- oracle.soda.OracleBatchException
-
- All Implemented Interfaces:
Serializable
public class OracleBatchException extends OracleException
Represents an exception thrown during a batch write operation.
-
-
Field Summary
-
Fields inherited from class oracle.soda.OracleException
UNKNOWN_ERROR_CODE
-
-
Constructor Summary
Constructors Constructor Description OracleBatchException(String message)
Constructs anOracleBatchException
object with a given message.OracleBatchException(String message, int processedCount)
Constructs anOracleBatchException
object with a given message.OracleBatchException(String message, int errorCode, int processedCount)
Constructs anOracleBatchException
with a given message and an error code.OracleBatchException(Throwable cause)
Constructs anOracleBatchException
object with a given cause.OracleBatchException(Throwable cause, int processedCount)
Constructs anOracleBatchException
object with a given cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getProcessedCount()
Number of operations processed before the error occurred.-
Methods inherited from class oracle.soda.OracleException
getErrorCode, getNextException, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OracleBatchException
public OracleBatchException(String message)
Constructs anOracleBatchException
object with a given message.- Parameters:
message
- the description of the error.null
if message string is non-existent
-
OracleBatchException
public OracleBatchException(String message, int processedCount)
Constructs anOracleBatchException
object with a given message.- Parameters:
message
- the description of the error.null
if message string is non-existentprocessedCount
- number of operations processed before the error occurred
-
OracleBatchException
public OracleBatchException(String message, int errorCode, int processedCount)
Constructs anOracleBatchException
with a given message and an error code.- Parameters:
message
- the description of the error.null
indicates that the message string is non-existanterrorCode
- the error codeprocessedCount
- number of operations processed before the error occurred
-
OracleBatchException
public OracleBatchException(Throwable cause)
Constructs anOracleBatchException
object with a given cause.- Parameters:
cause
- the cause of the error.null
if non-existent
-
OracleBatchException
public OracleBatchException(Throwable cause, int processedCount)
Constructs anOracleBatchException
object with a given cause.- Parameters:
cause
- the cause of the error.null
if non-existentprocessedCount
- number of operations processed before the error occurred
-
-