All Packages Class Hierarchy This Package Previous Next Index
Class semper.commerce.TransactionException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----semper.commerce.CommerceException
|
+----semper.commerce.TransactionException
- public class TransactionException
- extends CommerceException
This exception is thrown if something related to a specific transaction
goes wrong.
- Version:
- $Id: TransactionException.java,v 1.3 1998/05/06 09:06:25 semper Exp $
- Author:
- Rolf Michelsen, Stig Mj�lsnes
-
ARCHIVE
- Exception code indicating that an error occured while reading or writing
the transaction in the archive.
-
ILLEGAL_REFERENCE
- Exception code indicating that the referenced transaction is not in the same
deal.
-
MULTIPLE_REQUEST
- Exception code indicating that this transaction has been requested earlier.
-
TransactionException(int)
- Creates a transaction exception without a descriptive message.
-
TransactionException(int, String)
- Creates a transaction exception with a descriptive message.
MULTIPLE_REQUEST
public static final int MULTIPLE_REQUEST
- Exception code indicating that this transaction has been requested earlier.
A transaction instance can only be requested once.
ILLEGAL_REFERENCE
public static final int ILLEGAL_REFERENCE
- Exception code indicating that the referenced transaction is not in the same
deal. The referenced transaction must also have been successfully requested.
ARCHIVE
public static final int ARCHIVE
- Exception code indicating that an error occured while reading or writing
the transaction in the archive.
TransactionException
public TransactionException(int condition)
- Creates a transaction exception without a descriptive message. An
exception condition code must be specified to indicate the reason for
the exception. This parameter can take one of the code values predefined
by the class.
- Parameters:
- condition - The exception condition code.
TransactionException
public TransactionException(int condition,
String message)
- Creates a transaction exception with a descriptive message. An
exception condition code must be specified to indicate the reason for
the exception. This parameter can take one of the code values predefined
by the class.
- Parameters:
- condition - The exception condition code.
- message - A message indicating the reason for the exception.
All Packages Class Hierarchy This Package Previous Next Index