All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.commerce.AssociationException

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

public class AssociationException
extends CommerceException
This exception is thrown if something is wrong with the association between two peers involved in an active deal.

Version:
$Id: AssociationException.java,v 1.4 1998/07/14 11:14:19 semper Exp $
Author:
Rolf Michelsen, Stig Mj°lsnes

Variable Index

 o CLOSED
Exception code indicating that the connection has been closed by the peer.
 o COMMUNICATIONS
Exception code indicating a generic network communications problem.
 o INVALID_PROTOCOL
Exception code indicating a protocol error.
 o NO_CONNECT
Exception code indicating inability to make a connection to the peer.
 o PEER_AUTH
Exception code indicating that the peer was not successfully authenticated.

Constructor Index

 o AssociationException(int)
Creates an association exception without a descriptive message.
 o AssociationException(int, String)
Creates an association exception with a descriptive message.

Variables

 o NO_CONNECT
 public static final int NO_CONNECT
Exception code indicating inability to make a connection to the peer.

 o COMMUNICATIONS
 public static final int COMMUNICATIONS
Exception code indicating a generic network communications problem.

 o INVALID_PROTOCOL
 public static final int INVALID_PROTOCOL
Exception code indicating a protocol error. A message that was not expected was received from the peer.

 o CLOSED
 public static final int CLOSED
Exception code indicating that the connection has been closed by the peer.

 o PEER_AUTH
 public static final int PEER_AUTH
Exception code indicating that the peer was not successfully authenticated.

Constructors

 o AssociationException
 public AssociationException(int condition)
Creates an association exception without a descriptive message. An exception condition code must be specified to provide information about the reason for the exception. This parameter can take one of the predefined code values defined by this class.

Parameters:
condition - The exception condition code.
 o AssociationException
 public AssociationException(int condition,
                             String message)
Creates an association exception with a descriptive message. An exception condition code must be specified to provide information about the reason for the exception. This parameter can take one of the predefined code values defined by this class.

Parameters:
condition - The exception condition code.
message - A descriptive message with information about the exception.

All Packages  Class Hierarchy  This Package  Previous  Next  Index