public final class tcBulkException
extends java.lang.Exception
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
errorCodes |
java.lang.String[] |
isErrorMessages
Corresponding error messages for each of the keys that failed the
operation
|
java.lang.String[] |
isKeys
Array of keys that failed the operation
|
java.lang.String |
isMessage
The message of this exception
|
java.lang.String[] |
isSeverity |
Constructor and Description |
---|
tcBulkException()
Creates a new tcBulkException object.
|
tcBulkException(java.lang.String isMessage,
java.lang.String[] isKeys,
java.lang.String[] isErrorMessages)
Creates a new tcBulkException object.
|
tcBulkException(java.lang.String isMessage,
java.lang.String[] isKeys,
java.lang.String[] isErrorMessages,
java.lang.String[] errorCodes) |
tcBulkException(java.lang.String isMessage,
java.lang.String[] isKeys,
java.lang.String[] isErrorMessages,
java.lang.String[] errorCodes,
java.lang.String[] severity)
Creates a new tcBulkException object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone method
|
java.lang.String[] |
getErrorCodes() |
java.lang.Object |
getReturnValue()
Returns the object that needed to be returned by the API when the bulk
exception occurred.
|
void |
setReturnValue(java.lang.Object retval)
Stores the return value that the API intended to send back when a bulk
exception occurred by the failing of some of the transactions
|
public java.lang.String isMessage
public java.lang.String[] isKeys
public java.lang.String[] isErrorMessages
public java.lang.String[] errorCodes
public java.lang.String[] isSeverity
public tcBulkException()
public tcBulkException(java.lang.String isMessage, java.lang.String[] isKeys, java.lang.String[] isErrorMessages)
isMessage
- The generic message for this exceptionisKeys
- array of keys that failed the operationisErrorMessages
- array of messages corresponding to the keys that
failed the operationpublic tcBulkException(java.lang.String isMessage, java.lang.String[] isKeys, java.lang.String[] isErrorMessages, java.lang.String[] errorCodes)
public tcBulkException(java.lang.String isMessage, java.lang.String[] isKeys, java.lang.String[] isErrorMessages, java.lang.String[] errorCodes, java.lang.String[] severity)
isMessage
- The generic message for this exceptionisKeys
- array of keys that failed the operationisErrorMessages
- array of messages corresponding to the keys that
failed the operationerrorCodes
- array of error codes corresponding to the keys that
failed the operationseverity
- array of severity level corresponding to the keys that
failed the operationpublic java.lang.String[] getErrorCodes()
public void setReturnValue(java.lang.Object retval)
retval
- the object that needs to be returnedpublic java.lang.Object getReturnValue()
public java.lang.Object clone()
clone
in class java.lang.Object
java.lang.Error
- Error if any of the components cannot be cloned.