CAF SAP NetWeaver CE 7.1

com.sap.caf.rt.exception
Class CAFServiceException

java.lang.Object
  extended by BaseException
      extended by com.sap.caf.rt.exception.CAFBaseException
          extended by com.sap.caf.rt.exception.CAFServiceException
Direct Known Subclasses:
CAFBONodeException, CAFCreateException, CAFDeleteException, CAFFindException, CAFLockException, CAFPermissionException, CAFRetrieveException, CAFUpdateException

public class CAFServiceException
extends CAFBaseException

This is the superclass of all the exceptions thrown by the CRUD and query methods of a BO Node service.


Constructor Summary
CAFServiceException()
          Deprecated. Use CAFServiceException(Location) instead.
CAFServiceException(BaseExceptionInfo baseExcInfo)
          Constructs a new CAFServiceException.
CAFServiceException(BaseExceptionInfo baseExcInfo, boolean isRealCause)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, LocalizableText localizableText, java.lang.Throwable cause)
          Deprecated.  
CAFServiceException(com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, LocalizableText localizableText, java.lang.Throwable cause, boolean isRealCause)
          Deprecated.  
CAFServiceException(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.  
CAFServiceException(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.  
CAFServiceException(LocalizableText localizableText)
          Deprecated. Use CAFServiceException(Location, LocalizableText) instead.
CAFServiceException(LocalizableTextFormatter textFormatter)
          Deprecated. Use CAFServiceException(Location, LocalizableText) instead.
CAFServiceException(LocalizableTextFormatter textFormatter, java.lang.Throwable cause)
          Deprecated. Use CAFServiceException(Location, LocalizableText, Throwable) instead.
CAFServiceException(LocalizableTextFormatter textFormatter, java.lang.Throwable cause, boolean isRealCause)
          Deprecated. Use CAFServiceException(Location, LocalizableText, Throwable, boolean) instead.
CAFServiceException(LocalizableText localizableText, java.lang.Throwable cause)
          Deprecated. Use CAFServiceException(Location, LocalizableText, Throwable) instead.
CAFServiceException(LocalizableText localizableText, java.lang.Throwable cause, boolean isRealCause)
          Deprecated. Use CAFServiceException(Location, LocalizableText, Throwable, boolean) instead.
CAFServiceException(com.sap.tc.logging.Location location)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, LocalizableText localizableText)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, LocalizableText localizableText, java.lang.Throwable cause)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, LocalizableText localizableText, java.lang.Throwable cause, boolean isRealCause)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, ResourceAccessor ra, Msg msg)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, ResourceAccessor ra, Msg msg, java.lang.Throwable cause)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, ResourceAccessor ra, Msg msg, java.lang.Throwable cause, boolean isRealCause)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Object[] args)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Object[] args, java.lang.Throwable cause)
          Constructs a new CAFServiceException.
CAFServiceException(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 CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Throwable cause)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, ResourceAccessor ra, java.lang.String key, java.lang.Throwable cause, boolean isRealCause)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, java.lang.Throwable cause)
          Constructs a new CAFServiceException.
CAFServiceException(com.sap.tc.logging.Location location, java.lang.Throwable cause, boolean isRealCause)
          Constructs a new CAFServiceException.
CAFServiceException(ResourceAccessor ra, Msg msg)
          Deprecated. Use CAFServiceException(Location, ResourceAccessor, Msg) instead.
CAFServiceException(ResourceAccessor ra, Msg msg, java.lang.Throwable cause)
          Deprecated. Use CAFServiceException(Location, ResourceAccessor, Msg, Throwable) instead.
CAFServiceException(ResourceAccessor ra, Msg msg, java.lang.Throwable cause, boolean isRealCause)
          Deprecated. Use CAFServiceException(Location, ResourceAccessor, Msg, Throwable, boolean) instead.
CAFServiceException(ResourceAccessor ra, java.lang.String key)
          Deprecated. Use CAFServiceException(Location, ResourceAccessor, String) instead.
CAFServiceException(ResourceAccessor ra, java.lang.String key, java.lang.Object[] args)
          Deprecated. Use CAFServiceException(Location, ResourceAccessor, String, Object[]) instead.
CAFServiceException(ResourceAccessor ra, java.lang.String key, java.lang.Object[] args, java.lang.Throwable cause)
          Deprecated. Use CAFServiceException(Location, ResourceAccessor, String, Object[], Throwable) instead.
CAFServiceException(ResourceAccessor ra, java.lang.String key, java.lang.Object[] args, java.lang.Throwable cause, boolean isRealCause)
          Deprecated. Use CAFServiceException(Location, ResourceAccessor, String, Object[], Throwable, boolean) instead.
CAFServiceException(ResourceAccessor ra, java.lang.String key, java.lang.Throwable cause)
          Deprecated. Use CAFServiceException(Location, ResourceAccessor, String, Throwable) instead.
CAFServiceException(ResourceAccessor ra, java.lang.String key, java.lang.Throwable cause, boolean isRealCause)
          Deprecated. Use CAFServiceException(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

CAFServiceException

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

Parameters:
location - logging location

CAFServiceException

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

Constructs a new CAFServiceException.


CAFServiceException

public CAFServiceException(BaseExceptionInfo baseExcInfo)
Constructs a new CAFServiceException.

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

CAFServiceException

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

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

CAFServiceException

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

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

CAFServiceException

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

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

CAFServiceException

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

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

public CAFServiceException(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 CAFServiceException.

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

Parameters:
location - logging location
localizableText - localizable message

CAFServiceException

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

Constructs a new CAFServiceException.

Parameters:
localizableText - localizable message

CAFServiceException

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

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

public CAFServiceException(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 CAFServiceException.

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

CAFServiceException

public CAFServiceException(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 CAFServiceException.

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

CAFServiceException

public CAFServiceException(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 CAFServiceException.

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

CAFServiceException

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

Constructs a new CAFServiceException.

Parameters:
textFormatter - localizable message

CAFServiceException

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

Constructs a new CAFServiceException.

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

CAFServiceException

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

Constructs a new CAFServiceException.

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