All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.commerce.CommerceException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----semper.commerce.CommerceException

public class CommerceException
extends Exception
This class represents all exceptions thrown by the commerce layer. All commerce layer exceptions are instances of subclasses of this class.

This class represents a large number of error conditions. The set of error conditions are partitioned into subsets where each partition is represented by a subclass of CommerceException. Furthermore, each condition giving rise to an exception is represented by a unique exception code.

Version:
$Id: CommerceException.java,v 1.2 1998/04/03 12:47:51 semper Exp $
Author:
Rolf Michelsen, Stig Mj�lsnes
See Also:
AccessException, AssociationException, DealException, QualityException, TransactionException

Method Index

 o getCondition()
Returns the exception condition code.

Methods

 o getCondition
 public int getCondition()
Returns the exception condition code. This code identifies the condition that gave rise to the commerce exception. The set of condition codes are partitioned into a number of subsets that are represented by subclasses of CommerceException.

Returns:
The exception condition code.

All Packages  Class Hierarchy  This Package  Previous  Next  Index