|
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
public class CAFBaseException
This is the superclass of all checked CAF exceptions.
| Constructor Summary | |
|---|---|
CAFBaseException()
Deprecated. Use CAFBaseException(Location) instead. |
|
CAFBaseException(BaseExceptionInfo baseExcInfo)
Constructs a new CAFBaseException. |
|
CAFBaseException(BaseExceptionInfo baseExcInfo,
boolean isRealCause)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause)
Deprecated. |
|
CAFBaseException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. |
|
CAFBaseException(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. |
|
CAFBaseException(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. |
|
CAFBaseException(LocalizableText localizableText)
Deprecated. Use CAFBaseException(Location, LocalizableText) instead. |
|
CAFBaseException(LocalizableTextFormatter textFormatter)
Deprecated. Use CAFBaseException(Location, LocalizableText) instead. |
|
CAFBaseException(LocalizableTextFormatter textFormatter,
java.lang.Throwable cause)
Deprecated. Use CAFBaseException(Location, LocalizableText, Throwable) instead. |
|
CAFBaseException(LocalizableTextFormatter textFormatter,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseException(Location, LocalizableText, Throwable, boolean) instead. |
|
CAFBaseException(LocalizableText localizableText,
java.lang.Throwable cause)
Deprecated. Use CAFBaseException(Location, LocalizableText, Throwable) instead. |
|
CAFBaseException(LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseException(Location, LocalizableText, Throwable, boolean) instead. |
|
CAFBaseException(com.sap.tc.logging.Location location)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
LocalizableText localizableText)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause)
Constructs a new CAFBaseException. |
|
CAFBaseException(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 CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
java.lang.Throwable cause)
Constructs a new CAFBaseException. |
|
CAFBaseException(com.sap.tc.logging.Location location,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseException. |
|
CAFBaseException(ResourceAccessor ra,
Msg msg)
Deprecated. Use CAFBaseException(Location, ResourceAccessor, Msg) instead. |
|
CAFBaseException(ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause)
Deprecated. Use CAFBaseException(Location, ResourceAccessor, Msg, Throwable) instead. |
|
CAFBaseException(ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseException(Location, ResourceAccessor, Msg, Throwable, boolean) instead. |
|
CAFBaseException(ResourceAccessor ra,
java.lang.String key)
Deprecated. Use CAFBaseException(Location, ResourceAccessor, String) instead. |
|
CAFBaseException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args)
Deprecated. Use CAFBaseException(Location, ResourceAccessor, String, Object[]) instead. |
|
CAFBaseException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause)
Deprecated. Use CAFBaseException(Location, ResourceAccessor, String, Object[], Throwable) instead. |
|
CAFBaseException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseException(Location, ResourceAccessor, String, Object[], Throwable, boolean) instead. |
|
CAFBaseException(ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause)
Deprecated. Use CAFBaseException(Location, ResourceAccessor, String, Throwable) instead. |
|
CAFBaseException(ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseException(Location, ResourceAccessor, String, Throwable, boolean) instead. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalizedMessage()
Returns the localized message of the real cause. |
java.lang.String |
getLocalizedMessage(java.util.Locale locale)
Returns the localized message of the real cause. |
java.lang.String |
getLocalizedMessage(java.util.Locale locale,
java.util.TimeZone timeZone)
Returns the localized message of the real cause. |
java.lang.String |
getLocalizedMessage(java.util.TimeZone timeZone)
Returns the localized message of the real cause. |
java.lang.String |
getMessage()
Returns the message of the real cause. |
java.lang.Throwable |
getRealCause()
Returns the real cause of this exception. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CAFBaseException(com.sap.tc.logging.Location location)
location - logging locationpublic CAFBaseException()
CAFBaseException(Location) instead.
public CAFBaseException(BaseExceptionInfo baseExcInfo)
baseExcInfo - information about the throwable which caused this exception
public CAFBaseException(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 CAFBaseException(com.sap.tc.logging.Location location,
java.lang.Throwable cause)
location - logging locationcause - the throwable which caused this exception
public CAFBaseException(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 CAFBaseException(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 CAFBaseException(ResourceAccessor ra,
java.lang.String key)
CAFBaseException(Location, ResourceAccessor, String) instead.
ra - resource accessorkey - the key of the message in the resource bundle
public CAFBaseException(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 CAFBaseException(ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause)
CAFBaseException(Location, ResourceAccessor, String, Throwable) instead.
ra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFBaseException(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 CAFBaseException(ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause,
boolean isRealCause)
CAFBaseException(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 CAFBaseException(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 CAFBaseException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args)
CAFBaseException(Location, ResourceAccessor, String, Object[]) instead.
ra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the message
public CAFBaseException(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 CAFBaseException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause)
CAFBaseException(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 CAFBaseException(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 CAFBaseException(ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause,
boolean isRealCause)
CAFBaseException(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 CAFBaseException(com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg)
location - logging locationra - resource accessormsg - message from a resource bundle
public CAFBaseException(ResourceAccessor ra,
Msg msg)
CAFBaseException(Location, ResourceAccessor, Msg) instead.
ra - resource accessormsg - message from a resource bundle
public CAFBaseException(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 CAFBaseException(ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause)
CAFBaseException(Location, ResourceAccessor, Msg, Throwable) instead.
ra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exception
public CAFBaseException(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 CAFBaseException(ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause,
boolean isRealCause)
CAFBaseException(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 CAFBaseException(com.sap.tc.logging.Location location,
LocalizableText localizableText)
location - logging locationlocalizableText - localizable messagepublic CAFBaseException(LocalizableText localizableText)
CAFBaseException(Location, LocalizableText) instead.
localizableText - localizable message
public CAFBaseException(com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause)
location - logging locationlocalizableText - localizable messagecause - the throwable which caused this exception
public CAFBaseException(LocalizableText localizableText,
java.lang.Throwable cause)
CAFBaseException(Location, LocalizableText, Throwable) instead.
localizableText - localizable messagecause - the throwable which caused this exception
public CAFBaseException(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 CAFBaseException(LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
CAFBaseException(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 CAFBaseException(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 CAFBaseException(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 CAFBaseException(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 CAFBaseException(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 CAFBaseException(LocalizableTextFormatter textFormatter)
CAFBaseException(Location, LocalizableText) instead.
textFormatter - localizable message
public CAFBaseException(LocalizableTextFormatter textFormatter,
java.lang.Throwable cause)
CAFBaseException(Location, LocalizableText, Throwable) instead.
textFormatter - localizable messagecause - the throwable which caused this exception
public CAFBaseException(LocalizableTextFormatter textFormatter,
java.lang.Throwable cause,
boolean isRealCause)
CAFBaseException(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 java.lang.Throwable getRealCause()
public java.lang.String getLocalizedMessage()
public java.lang.String getMessage()
public java.lang.String getLocalizedMessage(java.util.Locale locale,
java.util.TimeZone timeZone)
locale - locale to use for formattingtimeZone - time zone to use for formatting
public java.lang.String getLocalizedMessage(java.util.Locale locale)
locale - locale to use for formatting
public java.lang.String getLocalizedMessage(java.util.TimeZone timeZone)
timeZone - time zone to use for formatting
|
CAF SAP NetWeaver CE 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||