CAF SAP NetWeaver CE 7.1

com.sap.caf.rt.exception
Class CAFOptimisticLockException

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.CAFLockException
                  extended by com.sap.caf.rt.exception.CAFOptimisticLockException

public class CAFOptimisticLockException
extends CAFLockException

This exception is thrown when an optimistic lock conflict occures.


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

CAFOptimisticLockException

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

Parameters:
location - logging location

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.


CAFOptimisticLockException

public CAFOptimisticLockException(BaseExceptionInfo baseExcInfo)
Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

Parameters:
location - logging location
localizableText - localizable message

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

Parameters:
localizableText - localizable message

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

Parameters:
textFormatter - localizable message

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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

CAFOptimisticLockException

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

Constructs a new CAFOptimisticLockException.

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