KMTransactionRolledBackException Class Reference
Inherits from | KMJMSException : KCException : NSException |
Declared in | KMTransactionRolledBackException.h |
Overview
This exception must be thrown when a call to [KMSession commit] results in a rollback of the current transaction.
Tasks
-
– initWithReason:errorCode:
Initializes a KMTransactionRolledBackException with the specified reason and error code.
-
– initWithReason:
Initializes a KMTransactionRolledBackException with the specified reason. The error code defaults to nil.
Instance Methods
initWithReason:
Initializes a KMTransactionRolledBackException with the specified reason. The error code defaults to nil.
- (KMTransactionRolledBackException *)initWithReason:(NSString *)reason
Parameters
- reason
a description of the exception
Declared In
KMTransactionRolledBackException.h
initWithReason:errorCode:
Initializes a KMTransactionRolledBackException with the specified reason and error code.
- (KMTransactionRolledBackException *)initWithReason:(NSString *)reason errorCode:(NSString *)errorCode
Parameters
- reason
a description of the exception
- errorCode
a string specifying the vendor-specific error code
Declared In
KMTransactionRolledBackException.h