All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.commerce.DealException

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

public class DealException
extends CommerceException
This exception is thrown when something is wrong with a deal. This includes invalid data or operations on a deal. Problems with the association to the peer are represented by the exception AssociationException.

Version:
$Id: DealException.java,v 1.6 1998/07/13 10:41:23 semper Exp $
Author:
Rolf Michelsen, Stig Mj°lsnes
See Also:
AssociationException

Variable Index

 o ARCHIVE
Exception code indicating a problem with using the archive.
 o EXIST
Exception code indicating that a given deal does not exist.
 o EXTERNALFORMAT
Exception code indicating that the external representation of a deal is invalid.
 o UNKNOWNUSER
Exception code indicating that the user is unknown.

Constructor Index

 o DealException(int)
Creates a deal exception without any descriptive message.
 o DealException(int, String)
Creates a deal exception with a descriptive message.

Variables

 o ARCHIVE
 public static final int ARCHIVE
Exception code indicating a problem with using the archive.

 o EXIST
 public static final int EXIST
Exception code indicating that a given deal does not exist.

 o EXTERNALFORMAT
 public static final int EXTERNALFORMAT
Exception code indicating that the external representation of a deal is invalid. An exception of this type can be thrown when trying to deserialise a deal that is stored externally.

 o UNKNOWNUSER
 public static final int UNKNOWNUSER
Exception code indicating that the user is unknown. This exception is thrown if a distinguished name for the user cannot be found or the distinguished name does not make sense.

Constructors

 o DealException
 public DealException(int condition)
Creates a deal exception without any 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 this class.

Parameters:
condition - The exception condition code.
 o DealException
 public DealException(int condition,
                      String message)
Creates a deal 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 this class.

Parameters:
condition - The exception condition code.
message - A message describing the reason for the exception.

All Packages  Class Hierarchy  This Package  Previous  Next  Index