|
CAF SAP NetWeaver CE 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBaseException
com.sap.caf.rt.exception.CAFBaseException
com.sap.caf.rt.exception.CAFServiceException
com.sap.caf.rt.exception.CAFLockException
com.sap.caf.rt.exception.CAFPessimisticLockException
public class CAFPessimisticLockException
This exception is thrown when a pessimistic lock conflict occurs.
| Field Summary | |
|---|---|
static int |
TYPE_ILLEGAL_ARGUMENT_EXCEPTION
A constant indicating that an IllegalArgumentException has been thrown by the enqueue server. |
static int |
TYPE_LOCK_EXCEPTION
A constant indicating a locking collision. |
static int |
TYPE_LOCK_NOT_SUPPORTED
A constant indicating that pessimistic locking is not supported. |
static int |
TYPE_NO_FACTORY_FOUND
A constant indicating that the locking factory could not be found. |
static int |
TYPE_TECHNICAL_LOCK_EXCEPTION
A constant indicating that a TechnicalLockException has been thrown by the enqueue server. |
static int |
TYPE_UNDEFINED
A constant indicating that the type of the message is not known. |
| Constructor Summary | |
|---|---|
CAFPessimisticLockException()
Deprecated. Use CAFPessimisticLockException(Location) instead. |
|
CAFPessimisticLockException(BaseExceptionInfo baseExcInfo)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(BaseExceptionInfo baseExcInfo,
boolean isRealCause)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause)
Deprecated. |
|
CAFPessimisticLockException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. |
|
CAFPessimisticLockException(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. |
|
CAFPessimisticLockException(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. |
|
CAFPessimisticLockException(LocalizableText localizableText)
Deprecated. Use CAFPessimisticLockException(Location, LocalizableText) instead. |
|
CAFPessimisticLockException(LocalizableTextFormatter textFormatter)
Deprecated. Use CAFPessimisticLockException(Location, LocalizableText) instead. |
|
CAFPessimisticLockException(LocalizableTextFormatter textFormatter,
java.lang.Throwable cause)
Deprecated. Use CAFPessimisticLockException(Location, LocalizableText, Throwable) instead. |
|
CAFPessimisticLockException(LocalizableTextFormatter textFormatter,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFPessimisticLockException(Location, LocalizableText, Throwable, boolean) instead. |
|
CAFPessimisticLockException(LocalizableText localizableText,
java.lang.Throwable cause)
Deprecated. Use CAFPessimisticLockException(Location, LocalizableText, Throwable) instead. |
|
CAFPessimisticLockException(LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFPessimisticLockException(Location, LocalizableText, Throwable, boolean) instead. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
LocalizableText localizableText)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(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 CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
java.lang.Throwable cause)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(com.sap.tc.logging.Location location,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFPessimisticLockException. |
|
CAFPessimisticLockException(ResourceAccessor ra,
Msg msg)
Deprecated. Use CAFPessimisticLockException(Location, ResourceAccessor, Msg) instead. |
|
CAFPessimisticLockException(ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause)
Deprecated. Use CAFPessimisticLockException(Location, ResourceAccessor, Msg, Throwable) instead. |
|
CAFPessimisticLockException(ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFPessimisticLockException(Location, ResourceAccessor, Msg, Throwable, boolean) instead. |
|
CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key)
Deprecated. Use CAFPessimisticLockException(Location, ResourceAccessor, String) instead. |
|
CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args)
Deprecated. Use CAFPessimisticLockException(Location, ResourceAccessor, String, Object[]) instead. |
|
CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause)
Deprecated. Use CAFPessimisticLockException(Location, ResourceAccessor, String, Object[], Throwable) instead. |
|
CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFPessimisticLockException(Location, ResourceAccessor, String, Object[], Throwable, boolean) instead. |
|
CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause)
Deprecated. Use CAFPessimisticLockException(Location, ResourceAccessor, String, Throwable) instead. |
|
CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFPessimisticLockException(Location, ResourceAccessor, String, Throwable, boolean) instead. |
|
| Method Summary | |
|---|---|
int |
getType()
Returns the type of the exception. |
void |
setType(int pType)
Sets the type of the exception. |
| 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 |
| Field Detail |
|---|
public static final int TYPE_UNDEFINED
public static final int TYPE_NO_FACTORY_FOUND
public static final int TYPE_LOCK_EXCEPTION
public static final int TYPE_TECHNICAL_LOCK_EXCEPTION
public static final int TYPE_ILLEGAL_ARGUMENT_EXCEPTION
public static final int TYPE_LOCK_NOT_SUPPORTED
| Constructor Detail |
|---|
public CAFPessimisticLockException(com.sap.tc.logging.Location location)
location - logging locationpublic CAFPessimisticLockException()
CAFPessimisticLockException(Location) instead.
public CAFPessimisticLockException(BaseExceptionInfo baseExcInfo)
baseExcInfo - information about the throwable which caused this exception
public CAFPessimisticLockException(BaseExceptionInfo baseExcInfo,
boolean isRealCause)
baseExcInfo - information about the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
java.lang.Throwable cause)
location - logging locationcause - the throwable which caused this exception
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
java.lang.Throwable cause,
boolean isRealCause)
location - logging locationcause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key)
location - logging locationra - resource accessorkey - the key of the message in the resource bundle
public CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key)
CAFPessimisticLockException(Location, ResourceAccessor, String) instead.
ra - resource accessorkey - the key of the message in the resource bundle
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause)
location - logging locationra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause)
CAFPessimisticLockException(Location, ResourceAccessor, String, Throwable) instead.
ra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause,
boolean isRealCause)
location - logging locationra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause,
boolean isRealCause)
CAFPessimisticLockException(Location, ResourceAccessor, String, Throwable, boolean) instead.
ra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args)
location - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the message
public CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args)
CAFPessimisticLockException(Location, ResourceAccessor, String, Object[]) instead.
ra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the message
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause)
location - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exception
public CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause)
CAFPessimisticLockException(Location, ResourceAccessor, String, Object[], Throwable) instead.
ra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exception
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause,
boolean isRealCause)
location - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause,
boolean isRealCause)
CAFPessimisticLockException(Location, ResourceAccessor, String, Object[], Throwable, boolean) instead.
ra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg)
location - logging locationra - resource accessormsg - message from a resource bundle
public CAFPessimisticLockException(ResourceAccessor ra,
Msg msg)
CAFPessimisticLockException(Location, ResourceAccessor, Msg) instead.
ra - resource accessormsg - message from a resource bundle
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause)
location - logging locationra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exception
public CAFPessimisticLockException(ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause)
CAFPessimisticLockException(Location, ResourceAccessor, Msg, Throwable) instead.
ra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exception
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause,
boolean isRealCause)
location - logging locationra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause,
boolean isRealCause)
CAFPessimisticLockException(Location, ResourceAccessor, Msg, Throwable, boolean) instead.
ra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
LocalizableText localizableText)
location - logging locationlocalizableText - localizable messagepublic CAFPessimisticLockException(LocalizableText localizableText)
CAFPessimisticLockException(Location, LocalizableText) instead.
localizableText - localizable message
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause)
location - logging locationlocalizableText - localizable messagecause - the throwable which caused this exception
public CAFPessimisticLockException(LocalizableText localizableText,
java.lang.Throwable cause)
CAFPessimisticLockException(Location, LocalizableText, Throwable) instead.
localizableText - localizable messagecause - the throwable which caused this exception
public CAFPessimisticLockException(com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
location - logging locationlocalizableText - localizable messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
CAFPessimisticLockException(Location, LocalizableText, Throwable, boolean) instead.
localizableText - localizable messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause)
category - logging categoryseverity - logging severitylocation - logging locationlocalizableText - localizable messagecause - the throwable which caused this exception
public CAFPessimisticLockException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
category - logging categoryseverity - logging severitylocation - logging locationlocalizableText - localizable messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFPessimisticLockException(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)
category - logging categoryseverity - logging severitylocation - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exception
public CAFPessimisticLockException(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)
category - logging categoryseverity - logging severitylocation - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real onepublic CAFPessimisticLockException(LocalizableTextFormatter textFormatter)
CAFPessimisticLockException(Location, LocalizableText) instead.
textFormatter - localizable message
public CAFPessimisticLockException(LocalizableTextFormatter textFormatter,
java.lang.Throwable cause)
CAFPessimisticLockException(Location, LocalizableText, Throwable) instead.
textFormatter - localizable messagecause - the throwable which caused this exception
public CAFPessimisticLockException(LocalizableTextFormatter textFormatter,
java.lang.Throwable cause,
boolean isRealCause)
CAFPessimisticLockException(Location, LocalizableText, Throwable, boolean) instead.
textFormatter - localizable messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one| Method Detail |
|---|
public void setType(int pType)
pType - one of the following:
TYPE_UNDEFINED,
TYPE_NO_FACTORY_FOUND,
TYPE_LOCK_EXCEPTION,
TYPE_TECHNICAL_LOCK_EXCEPTION,
TYPE_ILLEGAL_ARGUMENT_EXCEPTION,
TYPE_LOCK_NOT_SUPPORTEDgetType()public int getType()
TYPE_UNDEFINED,
TYPE_NO_FACTORY_FOUND,
TYPE_LOCK_EXCEPTION,
TYPE_TECHNICAL_LOCK_EXCEPTION,
TYPE_ILLEGAL_ARGUMENT_EXCEPTION,
TYPE_LOCK_NOT_SUPPORTEDsetType(int)
|
CAF SAP NetWeaver CE 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||