All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.commerce.AccessException

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

public class AccessException
extends CommerceException
This exception is thrown if a request cannot be satisfied due to lack of required access control capabilities.

Version:
$Id: AccessException.java,v 1.1 1998/03/03 11:56:11 semper Exp $
Author:
Rolf Michelsen, Stig Mj°lsnes

Variable Index

 o NO_CAPABILITY
Exception code indicating access denied due to lack of the proper capability.

Constructor Index

 o AccessException(int)
Creates an access exception without any descriptive message.
 o AccessException(int, String)
Creates an access exception with a descriptive message.

Variables

 o NO_CAPABILITY
 public static final int NO_CAPABILITY
Exception code indicating access denied due to lack of the proper capability.

Constructors

 o AccessException
 public AccessException(int condition)
Creates an access 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 AccessException
 public AccessException(int condition,
                        String message)
Creates an access 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 descriptive message providing more information about The exception condition.

All Packages  Class Hierarchy  This Package  Previous  Next  Index