Package wt.access

Class AccessControlException

All Implemented Interfaces:
Serializable, LocalizableMessage, Message
Direct Known Subclasses:
MismatchedAccessControlRulesException, NotAuthorizedException, OwnerLosingAccessException

public class AccessControlException extends WTException implements Serializable
Thrown when the access control service detects an unexpected error. AccessControlException is the base class of the exception hierarchy for the access control package.

Supported API: true

Extendable: false
See Also:
  • Constructor Details

    • AccessControlException

      public AccessControlException()
      No argument constructor.

      Supported API: true
    • AccessControlException

      public AccessControlException(String message)
      Constructor that takes a non-localized message as argument.

      Supported API: true
      Parameters:
      message - a non-localized message
    • AccessControlException

      public AccessControlException(Exception e)
      Constructor that takes an execption as argument. Exception can be retrieved using getNestedException method.

      Supported API: true
      Parameters:
      e - exception
    • AccessControlException

      public AccessControlException(Exception e, String msg)
      Constructor that takes a non-localized message and an exeption as argument.

      Supported API: true
      Parameters:
      e - exception
      msg - a non-localized message
    • AccessControlException

      public AccessControlException(Exception e, String rb, String key, Object[] params)
      Constructor that takes and exception, a resource bundle, a key and additional parameters to use in the localized message.

      Supported API: true
      Parameters:
      e - exception
      rb - resource bundle name
      key - resource bundle key
      params - parameters to use in the localized message