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
-
CLOSED
- Exception code indicating that the connection has been closed by the peer.
-
COMMUNICATIONS
- Exception code indicating a generic network communications problem.
-
INVALID_PROTOCOL
- Exception code indicating a protocol error.
-
NO_CONNECT
- Exception code indicating inability to make a connection to the peer.
-
PEER_AUTH
- Exception code indicating that the peer was not successfully authenticated.
-
AssociationException(int)
- Creates an association exception without a descriptive message.
-
AssociationException(int, String)
- Creates an association exception with a descriptive message.
NO_CONNECT
public static final int NO_CONNECT
- Exception code indicating inability to make a connection to the peer.
COMMUNICATIONS
public static final int COMMUNICATIONS
- Exception code indicating a generic network communications problem.
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.
CLOSED
public static final int CLOSED
- Exception code indicating that the connection has been closed by the peer.
PEER_AUTH
public static final int PEER_AUTH
- Exception code indicating that the peer was not successfully authenticated.
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.
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