|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.exception.BaseRuntimeException
com.sap.caf.rt.exception.CAFBaseRuntimeException
public class CAFBaseRuntimeException
This is the superclass of all unchecked CAF exceptions.
| Field Summary |
|---|
| Fields inherited from interface com.sap.exception.IBaseException |
|---|
audit, defaultLocale |
| Constructor Summary | |
|---|---|
CAFBaseRuntimeException()
Deprecated. Use CAFBaseRuntimeException(Location) instead. |
|
CAFBaseRuntimeException(com.sap.exception.BaseExceptionInfo baseExcInfo)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.exception.BaseExceptionInfo baseExcInfo,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause)
Deprecated. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause,
boolean isRealCause)
Deprecated. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
Deprecated. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Deprecated. |
|
CAFBaseRuntimeException(com.sap.localization.LocalizableText localizableText)
Deprecated. Use CAFBaseRuntimeException(Location, LocalizableText) instead. |
|
CAFBaseRuntimeException(com.sap.localization.LocalizableTextFormatter textFormatter)
Deprecated. Use CAFBaseRuntimeException(Location, LocalizableText) instead. |
|
CAFBaseRuntimeException(com.sap.localization.LocalizableTextFormatter textFormatter,
Throwable cause)
Deprecated. Use CAFBaseRuntimeException(Location, LocalizableText, Throwable) instead. |
|
CAFBaseRuntimeException(com.sap.localization.LocalizableTextFormatter textFormatter,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException(Location, LocalizableText, Throwable, boolean) instead. |
|
CAFBaseRuntimeException(com.sap.localization.LocalizableText localizableText,
Throwable cause)
Deprecated. Use CAFBaseRuntimeException(Location, LocalizableText, Throwable) instead. |
|
CAFBaseRuntimeException(com.sap.localization.LocalizableText localizableText,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException(Location, LocalizableText, Throwable, boolean) instead. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key)
Constructs a new CAFBaseRuntimeException with the default CAF resource accessor. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key,
Object[] args)
Constructs a new CAFBaseRuntimeException with the default CAF resource accessor. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key,
Object[] args,
Throwable cause)
Constructs a new CAFBaseRuntimeException with the default CAF resource accessor. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException with the default CAF resource accessor. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key,
Throwable cause)
Constructs a new CAFBaseRuntimeException with the default CAF resource accessor. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException with the default CAF resource accessor. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
Throwable cause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.tc.logging.Location location,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg)
Deprecated. Use CAFBaseRuntimeException#CAFBaseRuntimeException(Location, ResourceAccessor, Msg) instead. |
|
CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause)
Deprecated. Use CAFBaseRuntimeException#CAFBaseRuntimeException(Location, ResourceAccessor, Msg, Throwable) instead. |
|
CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException#CAFBaseRuntimeException(Location, ResourceAccessor, Msg, Throwable, boolean) instead. |
|
CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String) instead. |
|
CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key,
Object[] args)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String, Object[]) instead. |
|
CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String, Object[], Throwable) instead. |
|
CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String, Object[], Throwable, boolean) instead. |
|
CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String, Throwable) instead. |
|
CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String, Throwable, boolean) instead. |
|
CAFBaseRuntimeException(String key)
Deprecated. Use CAFBaseRuntimeException(Location, String) instead. |
|
CAFBaseRuntimeException(String key,
Object[] args)
Deprecated. Use CAFBaseRuntimeException(Location, String, Object[]) instead. |
|
CAFBaseRuntimeException(String key,
Object[] args,
Throwable cause)
Deprecated. Use CAFBaseRuntimeException(Location, String, Object[], Throwable) instead. |
|
CAFBaseRuntimeException(String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException(Location, String, Object[], Throwable, boolean) instead. |
|
CAFBaseRuntimeException(String key,
Throwable cause)
Deprecated. Use CAFBaseRuntimeException(Location, String, Throwable) instead. |
|
CAFBaseRuntimeException(String key,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException(Location, String, Throwable, boolean) instead. |
|
CAFBaseRuntimeException(Throwable cause)
Deprecated. Use CAFBaseRuntimeException(Location, Throwable) instead. |
|
CAFBaseRuntimeException(Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException(Location, Throwable, boolean) instead. |
|
| Method Summary | |
|---|---|
String |
getLocalizedMessage()
Returns the localized message of the real cause. |
String |
getLocalizedMessage(Locale locale)
Returns the localized message of the real cause. |
String |
getLocalizedMessage(Locale locale,
TimeZone timeZone)
Returns the localized message of the real cause. |
String |
getLocalizedMessage(TimeZone timeZone)
Returns the localized message of the real cause. |
String |
getMessage()
Returns the message of the real cause. |
Throwable |
getRealCause()
Returns the real cause of this exception. |
| Methods inherited from class com.sap.exception.BaseRuntimeException |
|---|
finallyLocalize, finallyLocalize, finallyLocalize, finallyLocalize, getCause, getLocalizableMessage, getLogCategory, getLogLocation, getLogSeverity, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedStackTraceString, getStackTraceString, getSystemStackTraceString, initCause, log, printStackTrace, printStackTrace, printStackTrace, restoreLogSettings, setLogSettings, trace, trace |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CAFBaseRuntimeException(com.sap.tc.logging.Location location)
location - logging locationpublic CAFBaseRuntimeException()
CAFBaseRuntimeException(Location) instead.
public CAFBaseRuntimeException(com.sap.exception.BaseExceptionInfo baseExcInfo)
baseExcInfo - information about the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.exception.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 CAFBaseRuntimeException(com.sap.tc.logging.Location location,
Throwable cause)
location - logging locationcause - the throwable which caused this exceptionpublic CAFBaseRuntimeException(Throwable cause)
CAFBaseRuntimeException(Location, Throwable) instead.
cause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
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 CAFBaseRuntimeException(Throwable cause,
boolean isRealCause)
CAFBaseRuntimeException(Location, Throwable, boolean) instead.
cause - 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 CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key)
location - logging locationra - resource accessorkey - the key of the message in the resource bundle
public CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key)
CAFBaseRuntimeException(Location, ResourceAccessor, String) instead.
ra - resource accessorkey - the key of the message in the resource bundle
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause)
location - logging locationra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause)
CAFBaseRuntimeException(Location, ResourceAccessor, String, Throwable) instead.
ra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
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 CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause,
boolean isRealCause)
CAFBaseRuntimeException(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 CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args)
location - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the message
public CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key,
Object[] args)
CAFBaseRuntimeException(Location, ResourceAccessor, String, Object[]) instead.
ra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the message
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
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 CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
CAFBaseRuntimeException(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 CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
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 CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
CAFBaseRuntimeException(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 CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg)
location - logging locationra - resource accessormsg - message from a resource bundle
public CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg)
CAFBaseRuntimeException#CAFBaseRuntimeException(Location, ResourceAccessor, Msg) instead.
ra - resource accessormsg - message from a resource bundle
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause)
location - logging locationra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause)
CAFBaseRuntimeException#CAFBaseRuntimeException(Location, ResourceAccessor, Msg, Throwable) instead.
ra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
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 CAFBaseRuntimeException(com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause,
boolean isRealCause)
CAFBaseRuntimeException#CAFBaseRuntimeException(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 CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText)
location - logging locationlocalizableText - localizable messagepublic CAFBaseRuntimeException(com.sap.localization.LocalizableText localizableText)
CAFBaseRuntimeException(Location, LocalizableText) instead.
localizableText - localizable message
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause)
location - logging locationlocalizableText - localizable messagecause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.localization.LocalizableText localizableText,
Throwable cause)
CAFBaseRuntimeException(Location, LocalizableText, Throwable) instead.
localizableText - localizable messagecause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
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 CAFBaseRuntimeException(com.sap.localization.LocalizableText localizableText,
Throwable cause,
boolean isRealCause)
CAFBaseRuntimeException(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 CAFBaseRuntimeException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause)
category - logging categoryseverity - logging severitylocation - logging locationlocalizableText - localizable messagecause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
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 CAFBaseRuntimeException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
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 CAFBaseRuntimeException(com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
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 CAFBaseRuntimeException(com.sap.localization.LocalizableTextFormatter textFormatter)
CAFBaseRuntimeException(Location, LocalizableText) instead.
textFormatter - localizable message
public CAFBaseRuntimeException(com.sap.localization.LocalizableTextFormatter textFormatter,
Throwable cause)
CAFBaseRuntimeException(Location, LocalizableText, Throwable) instead.
textFormatter - localizable messagecause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.localization.LocalizableTextFormatter textFormatter,
Throwable cause,
boolean isRealCause)
CAFBaseRuntimeException(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
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key)
location - logging locationkey - the key of the message in the resource bundlepublic CAFBaseRuntimeException(String key)
CAFBaseRuntimeException(Location, String) instead.
key - the key of the message in the resource bundle
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key,
Throwable cause)
location - logging locationkey - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFBaseRuntimeException(String key,
Throwable cause)
CAFBaseRuntimeException(Location, String, Throwable) instead.
key - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key,
Throwable cause,
boolean isRealCause)
location - logging locationkey - 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 CAFBaseRuntimeException(String key,
Throwable cause,
boolean isRealCause)
CAFBaseRuntimeException(Location, String, Throwable, boolean) instead.
key - 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 CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key,
Object[] args)
location - logging locationkey - the key of the message in the resource bundleargs - arguments for the message
public CAFBaseRuntimeException(String key,
Object[] args)
CAFBaseRuntimeException(Location, String, Object[]) instead.
key - the key of the message in the resource bundleargs - arguments for the message
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key,
Object[] args,
Throwable cause)
location - logging locationkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exception
public CAFBaseRuntimeException(String key,
Object[] args,
Throwable cause)
CAFBaseRuntimeException(Location, String, Object[], Throwable) instead.
key - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exception
public CAFBaseRuntimeException(com.sap.tc.logging.Location location,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
location - logging locationkey - 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 CAFBaseRuntimeException(String key,
Object[] args,
Throwable cause,
boolean isRealCause)
CAFBaseRuntimeException(Location, String, Object[], Throwable, boolean) instead.
key - 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| Method Detail |
|---|
public Throwable getRealCause()
public String getLocalizedMessage()
getLocalizedMessage in interface com.sap.exception.IBaseExceptiongetLocalizedMessage in class com.sap.exception.BaseRuntimeExceptionpublic String getMessage()
getMessage in class com.sap.exception.BaseRuntimeException
public String getLocalizedMessage(Locale locale,
TimeZone timeZone)
getLocalizedMessage in interface com.sap.exception.IBaseExceptiongetLocalizedMessage in class com.sap.exception.BaseRuntimeExceptionlocale - locale to use for formattingtimeZone - time zone to use for formatting
public String getLocalizedMessage(Locale locale)
getLocalizedMessage in interface com.sap.exception.IBaseExceptiongetLocalizedMessage in class com.sap.exception.BaseRuntimeExceptionlocale - locale to use for formatting
public String getLocalizedMessage(TimeZone timeZone)
getLocalizedMessage in interface com.sap.exception.IBaseExceptiongetLocalizedMessage in class com.sap.exception.BaseRuntimeExceptiontimeZone - time zone to use for formatting
| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] CAF
|
[sap.com] caf/runtime/ear
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||