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

Variable Index

 o ARCHIVE
Exception code indicating that an error occured while reading or writing the transaction in the archive.
 o ILLEGAL_REFERENCE
Exception code indicating that the referenced transaction is not in the same deal.
 o MULTIPLE_REQUEST
Exception code indicating that this transaction has been requested earlier.

Constructor Index

 o TransactionException(int)
Creates a transaction exception without a descriptive message.
 o TransactionException(int, String)
Creates a transaction exception with a descriptive message.

Variables

 o 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.

 o 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.

 o ARCHIVE
 public static final int ARCHIVE
Exception code indicating that an error occured while reading or writing the transaction in the archive.

Constructors

 o 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.
 o 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