|
SAP NetWeaver 7.11 (EhP1 SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBaseRuntimeException
com.sap.caf.rt.exception.CAFBaseRuntimeException
public class CAFBaseRuntimeException
This is the superclass of all unchecked CAF exceptions.
| Constructor Summary | |
|---|---|
CAFBaseRuntimeException()
Deprecated. Use CAFBaseRuntimeException(Location) instead. |
|
CAFBaseRuntimeException(BaseExceptionInfo baseExcInfo,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(Category category,
int severity,
Location location,
ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
Deprecated. |
|
CAFBaseRuntimeException(Category category,
int severity,
Location location,
ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Deprecated. |
|
CAFBaseRuntimeException(Location location)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(Location location,
ResourceAccessor ra,
String key)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(Location location,
ResourceAccessor ra,
String key,
Object[] args)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(Location location,
ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(Location location,
ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(Location location,
ResourceAccessor ra,
String key,
Throwable cause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(Location location,
ResourceAccessor ra,
String key,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(Location location,
Throwable cause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(Location location,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBaseRuntimeException. |
|
CAFBaseRuntimeException(ResourceAccessor ra,
String key)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String) instead. |
|
CAFBaseRuntimeException(ResourceAccessor ra,
String key,
Object[] args)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String, Object[]) instead. |
|
CAFBaseRuntimeException(ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String, Object[], Throwable) instead. |
|
CAFBaseRuntimeException(ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String, Object[], Throwable, boolean) instead. |
|
CAFBaseRuntimeException(ResourceAccessor ra,
String key,
Throwable cause)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String, Throwable) instead. |
|
CAFBaseRuntimeException(ResourceAccessor ra,
String key,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException(Location, ResourceAccessor, String, Throwable, boolean) instead. |
|
CAFBaseRuntimeException(String key,
Object[] args)
Deprecated. Use CAFBaseRuntimeException#CAFBaseRuntimeException(Location, String, Object[]) instead. |
|
CAFBaseRuntimeException(String key,
Object[] args,
Throwable cause)
Deprecated. Use CAFBaseRuntimeException#CAFBaseRuntimeException(Location, String, Object[], Throwable) instead. |
|
CAFBaseRuntimeException(String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBaseRuntimeException#CAFBaseRuntimeException(Location, String, Object[], 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CAFBaseRuntimeException(Location location)
location - logging locationpublic CAFBaseRuntimeException()
CAFBaseRuntimeException(Location) instead.
public CAFBaseRuntimeException(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(Location location,
Throwable cause)
location - logging locationcause - the throwable which caused this exception
public CAFBaseRuntimeException(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(Location location,
ResourceAccessor ra,
String key)
location - logging locationra - resource accessorkey - the key of the message in the resource bundle
public CAFBaseRuntimeException(ResourceAccessor ra,
String key)
CAFBaseRuntimeException(Location, ResourceAccessor, String) instead.
ra - resource accessorkey - the key of the message in the resource bundle
public CAFBaseRuntimeException(Location location,
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(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(Location location,
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(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(Location location,
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(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(Location location,
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(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(Location location,
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(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(Category category,
int severity,
Location location,
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(Category category,
int severity,
Location location,
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 one
public CAFBaseRuntimeException(String key,
Object[] args)
CAFBaseRuntimeException#CAFBaseRuntimeException(Location, String, Object[]) instead.
key - the key of the message in the resource bundleargs - arguments for the message
public CAFBaseRuntimeException(String key,
Object[] args,
Throwable cause)
CAFBaseRuntimeException#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(String key,
Object[] args,
Throwable cause,
boolean isRealCause)
CAFBaseRuntimeException#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()
public String getMessage()
public String getLocalizedMessage(Locale locale,
TimeZone timeZone)
locale - locale to use for formattingtimeZone - time zone to use for formatting
public String getLocalizedMessage(Locale locale)
locale - locale to use for formatting
public String getLocalizedMessage(TimeZone timeZone)
timeZone - time zone to use for formatting
|
SAP NetWeaver 7.11 (EhP1 SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||