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
-
ARCHIVE
- Exception code indicating a problem with using the archive.
-
EXIST
- Exception code indicating that a given deal does not exist.
-
EXTERNALFORMAT
- Exception code indicating that the external representation of a deal is
invalid.
-
UNKNOWNUSER
- Exception code indicating that the user is unknown.
-
DealException(int)
- Creates a deal exception without any descriptive message.
-
DealException(int, String)
- Creates a deal exception with a descriptive message.
ARCHIVE
public static final int ARCHIVE
- Exception code indicating a problem with using the archive.
EXIST
public static final int EXIST
- Exception code indicating that a given deal does not exist.
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.
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.
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.
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