CAF SAP NetWeaver CE 7.1

com.sap.caf.rt.exception
Class CAFPermissionException

java.lang.Object
  extended by BaseException
      extended by com.sap.caf.rt.exception.CAFBaseException
          extended by com.sap.caf.rt.exception.CAFServiceException
              extended by com.sap.caf.rt.exception.CAFPermissionException

public class CAFPermissionException
extends CAFServiceException

This exception is thrown when a user doesn't have the required permissions to execute an operation.


Constructor Summary
CAFPermissionException()
          Deprecated. Use CAFPermissionException(Location) instead.
CAFPermissionException(BaseExceptionInfo baseExcInfo)
          Constructs a new CAFPermissionException.
CAFPermissionException(BaseExceptionInfo baseExcInfo, boolean isRealCause)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, LocalizableText localizableText, java.lang.Throwable cause)
          Deprecated.  
CAFPermissionException(com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, LocalizableText localizableText, java.lang.Throwable cause, boolean isRealCause)
          Deprecated.  
CAFPermissionException(com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Object[] args, java.lang.Throwable cause)
          Deprecated.  
CAFPermissionException(com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Object[] args, java.lang.Throwable cause, boolean isRealCause)
          Deprecated.  
CAFPermissionException(LocalizableText localizableText)
          Deprecated. Use CAFPermissionException(Location, LocalizableText) instead.
CAFPermissionException(LocalizableTextFormatter textFormatter)
          Deprecated. Use CAFPermissionException(Location, LocalizableText) instead.
CAFPermissionException(LocalizableTextFormatter textFormatter, java.lang.Throwable cause)
          Deprecated. Use CAFPermissionException(Location, LocalizableText, Throwable) instead.
CAFPermissionException(LocalizableTextFormatter textFormatter, java.lang.Throwable cause, boolean isRealCause)
          Deprecated. Use CAFPermissionException(Location, LocalizableText, Throwable, boolean) instead.
CAFPermissionException(LocalizableText localizableText, java.lang.Throwable cause)
          Deprecated. Use CAFPermissionException(Location, LocalizableText, Throwable) instead.
CAFPermissionException(LocalizableText localizableText, java.lang.Throwable cause, boolean isRealCause)
          Deprecated. Use CAFPermissionException(Location, LocalizableText, Throwable, boolean) instead.
CAFPermissionException(com.sap.tc.logging.Location location)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, LocalizableText localizableText)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, LocalizableText localizableText, java.lang.Throwable cause)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, LocalizableText localizableText, java.lang.Throwable cause, boolean isRealCause)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, ResourceAccessor ra, Msg msg)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, ResourceAccessor ra, Msg msg, java.lang.Throwable cause)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, ResourceAccessor ra, Msg msg, java.lang.Throwable cause, boolean isRealCause)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Object[] args)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Object[] args, java.lang.Throwable cause)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Object[] args, java.lang.Throwable cause, boolean isRealCause)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Throwable cause)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Throwable cause, boolean isRealCause)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, java.lang.Throwable cause)
          Constructs a new CAFPermissionException.
CAFPermissionException(com.sap.tc.logging.Location location, java.lang.Throwable cause, boolean isRealCause)
          Constructs a new CAFPermissionException.
CAFPermissionException(ResourceAccessor ra, Msg msg)
          Deprecated. Use CAFPermissionException(Location, ResourceAccessor, Msg) instead.
CAFPermissionException(ResourceAccessor ra, Msg msg, java.lang.Throwable cause)
          Deprecated. Use CAFPermissionException(Location, ResourceAccessor, Msg, Throwable) instead.
CAFPermissionException(ResourceAccessor ra, Msg msg, java.lang.Throwable cause, boolean isRealCause)
          Deprecated. Use CAFPermissionException(Location, ResourceAccessor, Msg, Throwable, boolean) instead.
CAFPermissionException(ResourceAccessor ra, java.lang.String key)
          Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String) instead.
CAFPermissionException(ResourceAccessor ra, java.lang.String key, java.lang.Object[] args)
          Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String, Object[]) instead.
CAFPermissionException(ResourceAccessor ra, java.lang.String key, java.lang.Object[] args, java.lang.Throwable cause)
          Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String, Object[], Throwable) instead.
CAFPermissionException(ResourceAccessor ra, java.lang.String key, java.lang.Object[] args, java.lang.Throwable cause, boolean isRealCause)
          Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String, Object[], Throwable, boolean) instead.
CAFPermissionException(ResourceAccessor ra, java.lang.String key, java.lang.Throwable cause)
          Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String, Throwable) instead.
CAFPermissionException(ResourceAccessor ra, java.lang.String key, java.lang.Throwable cause, boolean isRealCause)
          Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String, Throwable, boolean) instead.
 
Method Summary
 
Methods inherited from class com.sap.caf.rt.exception.CAFBaseException
getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getMessage, getRealCause
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location)
Constructs a new CAFPermissionException.

Parameters:
location - logging location

CAFPermissionException

public CAFPermissionException()
Deprecated. Use CAFPermissionException(Location) instead.

Constructs a new CAFPermissionException.


CAFPermissionException

public CAFPermissionException(BaseExceptionInfo baseExcInfo)
Constructs a new CAFPermissionException.

Parameters:
baseExcInfo - information about the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(BaseExceptionInfo baseExcInfo,
                              boolean isRealCause)
Constructs a new CAFPermissionException.

Parameters:
baseExcInfo - information about the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              java.lang.Throwable cause)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              java.lang.String key)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
ra - resource accessor
key - the key of the message in the resource bundle

CAFPermissionException

public CAFPermissionException(ResourceAccessor ra,
                              java.lang.String key)
Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String) instead.

Constructs a new CAFPermissionException.

Parameters:
ra - resource accessor
key - the key of the message in the resource bundle

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Throwable cause)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
ra - resource accessor
key - the key of the message in the resource bundle
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Throwable cause)
Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String, Throwable) instead.

Constructs a new CAFPermissionException.

Parameters:
ra - resource accessor
key - the key of the message in the resource bundle
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
ra - resource accessor
key - the key of the message in the resource bundle
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String, Throwable, boolean) instead.

Constructs a new CAFPermissionException.

Parameters:
ra - resource accessor
key - the key of the message in the resource bundle
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Object[] args)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
ra - resource accessor
key - the key of the message in the resource bundle
args - arguments for the message

CAFPermissionException

public CAFPermissionException(ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Object[] args)
Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String, Object[]) instead.

Constructs a new CAFPermissionException.

Parameters:
ra - resource accessor
key - the key of the message in the resource bundle
args - arguments for the message

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Object[] args,
                              java.lang.Throwable cause)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
ra - resource accessor
key - the key of the message in the resource bundle
args - arguments for the message
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Object[] args,
                              java.lang.Throwable cause)
Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String, Object[], Throwable) instead.

Constructs a new CAFPermissionException.

Parameters:
ra - resource accessor
key - the key of the message in the resource bundle
args - arguments for the message
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Object[] args,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
ra - resource accessor
key - the key of the message in the resource bundle
args - arguments for the message
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Object[] args,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Deprecated. Use CAFPermissionException(Location, ResourceAccessor, String, Object[], Throwable, boolean) instead.

Constructs a new CAFPermissionException.

Parameters:
ra - resource accessor
key - the key of the message in the resource bundle
args - arguments for the message
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              Msg msg)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
ra - resource accessor
msg - message from a resource bundle

CAFPermissionException

public CAFPermissionException(ResourceAccessor ra,
                              Msg msg)
Deprecated. Use CAFPermissionException(Location, ResourceAccessor, Msg) instead.

Constructs a new CAFPermissionException.

Parameters:
ra - resource accessor
msg - message from a resource bundle

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              Msg msg,
                              java.lang.Throwable cause)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
ra - resource accessor
msg - message from a resource bundle
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(ResourceAccessor ra,
                              Msg msg,
                              java.lang.Throwable cause)
Deprecated. Use CAFPermissionException(Location, ResourceAccessor, Msg, Throwable) instead.

Constructs a new CAFPermissionException.

Parameters:
ra - resource accessor
msg - message from a resource bundle
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              Msg msg,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
ra - resource accessor
msg - message from a resource bundle
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(ResourceAccessor ra,
                              Msg msg,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Deprecated. Use CAFPermissionException(Location, ResourceAccessor, Msg, Throwable, boolean) instead.

Constructs a new CAFPermissionException.

Parameters:
ra - resource accessor
msg - message from a resource bundle
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              LocalizableText localizableText)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
localizableText - localizable message

CAFPermissionException

public CAFPermissionException(LocalizableText localizableText)
Deprecated. Use CAFPermissionException(Location, LocalizableText) instead.

Constructs a new CAFPermissionException.

Parameters:
localizableText - localizable message

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              LocalizableText localizableText,
                              java.lang.Throwable cause)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
localizableText - localizable message
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(LocalizableText localizableText,
                              java.lang.Throwable cause)
Deprecated. Use CAFPermissionException(Location, LocalizableText, Throwable) instead.

Constructs a new CAFPermissionException.

Parameters:
localizableText - localizable message
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Location location,
                              LocalizableText localizableText,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Constructs a new CAFPermissionException.

Parameters:
location - logging location
localizableText - localizable message
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(LocalizableText localizableText,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Deprecated. Use CAFPermissionException(Location, LocalizableText, Throwable, boolean) instead.

Constructs a new CAFPermissionException.

Parameters:
localizableText - localizable message
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Category category,
                              int severity,
                              com.sap.tc.logging.Location location,
                              LocalizableText localizableText,
                              java.lang.Throwable cause)
Deprecated. 

Constructs a new CAFPermissionException.

Parameters:
category - logging category
severity - logging severity
location - logging location
localizableText - localizable message
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Category category,
                              int severity,
                              com.sap.tc.logging.Location location,
                              LocalizableText localizableText,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Deprecated. 

Constructs a new CAFPermissionException.

Parameters:
category - logging category
severity - logging severity
location - logging location
localizableText - localizable message
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Category category,
                              int severity,
                              com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Object[] args,
                              java.lang.Throwable cause)
Deprecated. 

Constructs a new CAFPermissionException.

Parameters:
category - logging category
severity - logging severity
location - logging location
ra - resource accessor
key - the key of the message in the resource bundle
args - arguments for the message
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(com.sap.tc.logging.Category category,
                              int severity,
                              com.sap.tc.logging.Location location,
                              ResourceAccessor ra,
                              java.lang.String key,
                              java.lang.Object[] args,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Deprecated. 

Constructs a new CAFPermissionException.

Parameters:
category - logging category
severity - logging severity
location - logging location
ra - resource accessor
key - the key of the message in the resource bundle
args - arguments for the message
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAFPermissionException

public CAFPermissionException(LocalizableTextFormatter textFormatter)
Deprecated. Use CAFPermissionException(Location, LocalizableText) instead.

Constructs a new CAFPermissionException.

Parameters:
textFormatter - localizable message

CAFPermissionException

public CAFPermissionException(LocalizableTextFormatter textFormatter,
                              java.lang.Throwable cause)
Deprecated. Use CAFPermissionException(Location, LocalizableText, Throwable) instead.

Constructs a new CAFPermissionException.

Parameters:
textFormatter - localizable message
cause - the throwable which caused this exception

CAFPermissionException

public CAFPermissionException(LocalizableTextFormatter textFormatter,
                              java.lang.Throwable cause,
                              boolean isRealCause)
Deprecated. Use CAFPermissionException(Location, LocalizableText, Throwable, boolean) instead.

Constructs a new CAFPermissionException.

Parameters:
textFormatter - localizable message
cause - the throwable which caused this exception
isRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one

CAF SAP NetWeaver CE 7.1