|
SAP BI Java SDK | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.sap.exception.BaseException | +--com.sap.ip.bi.sdk.exception.BIOlapQueryException
Checked exception which is thrown within the context of an OLAP query. This could happen when the query is manipulated or navigated, or when the query is executed.
Fields inherited from interface com.sap.exception.IBaseException |
audit, defaultLocale |
Constructor Summary | |
BIOlapQueryException(Locale locale,
com.sap.tc.logging.Category cat,
int severity,
com.sap.tc.logging.Location loc,
String patternKey,
Object[] args,
Throwable rootCause)
Constructs an exception with a localizable text message and the specified root cause of this exception. |
|
BIOlapQueryException(Locale locale,
String patternKey)
Constructs an exception with a localizable message. |
|
BIOlapQueryException(Locale locale,
String patternKey,
Object[] args)
Constructs an exception with a localizable message. |
|
BIOlapQueryException(Locale locale,
String patternKey,
Object[] args,
Throwable cause)
Constructs an exception with a localizable message and a root cause. |
|
BIOlapQueryException(Locale locale,
String patternKey,
Throwable cause)
Constructs an exception with a localizable message and a root cause. |
|
BIOlapQueryException(Locale locale,
Throwable rootCause)
Constructs an exception with the specified root cause of this exception. |
Method Summary | |
void |
finallyLocalize()
Finally localizes the LocalizableText message
(if there is one attached).
|
void |
finallyLocalize(TimeZone timeZone)
Finally localizes the LocalizableText message
(if there is one attached).
|
String |
getLocalizedMessage()
Gets localized message. |
String |
getLocalizedMessage(TimeZone timeZone)
Gets localized message. |
String |
getMessage()
See getLocalizedMessage() . |
String |
getNestedLocalizedMessage()
Chains localized messages of the nested exceptions. |
String |
getNestedLocalizedMessage(TimeZone timeZone)
Chains localized message of the nested exceptions. |
Methods inherited from class com.sap.exception.BaseException |
finallyLocalize, finallyLocalize, getCause, getLocalizableMessage, getLocalizedMessage, getLocalizedMessage, getLogCategory, getLogLocation, getLogSeverity, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedStackTraceString, getStackTraceString, getSystemStackTraceString, initCause, log, printStackTrace, printStackTrace, printStackTrace, restoreLogSettings, setLogSettings, trace, trace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BIOlapQueryException(Locale locale, Throwable rootCause)
locale
- locale with which to localize the messagerootCause
- throwable object that caused this exceptionpublic BIOlapQueryException(Locale locale, com.sap.tc.logging.Category cat, int severity, com.sap.tc.logging.Location loc, String patternKey, Object[] args, Throwable rootCause)
locale
- locale with which to localize the messagecat
- logging categoryseverity
- logging severityloc
- logging locationpatternKey
- message keyargs
- format argumentsrootCause
- throwable object, which caused this exceptionpublic BIOlapQueryException(Locale locale, String patternKey)
LocalizableTextFormatter
class is used
for the localizable message.locale
- locale with which to localize the messagepatternKey
- message keypublic BIOlapQueryException(Locale locale, String patternKey, Object[] args)
LocalizableTextFormatter
class is used
for the localizable message.locale
- locale with which to localize the messagepatternKey
- message keyargs
- format argumentspublic BIOlapQueryException(Locale locale, String patternKey, Throwable cause)
LocalizableTextFormatter
class is used
for the localizable message.locale
- locale with which to localize the messagepatternKey
- message keycause
- root causepublic BIOlapQueryException(Locale locale, String patternKey, Object[] args, Throwable cause)
LocalizableTextFormatter
class is used
for the localizable message.locale
- locale with which to localize the messagepatternKey
- message keyargs
- format argumentscause
- root causeMethod Detail |
public String getLocalizedMessage()
The default locale and default time zone are used for localization.
These values have no effect if the finallyLocalize method has already been called.
getLocalizedMessage
in class com.sap.exception.BaseException
public String getLocalizedMessage(TimeZone timeZone)
The specified time zone and the default locale are used for localization. The default time zone will be used, if the time zone parameter is null.
These values have no effect if the finallyLocalize method has been already called.
getLocalizedMessage
in class com.sap.exception.BaseException
timeZone
- time zonepublic String getNestedLocalizedMessage()
The default locale and the default time zone are used for localization.
These values have no effect if the finallyLocalize method has already been called.
getNestedLocalizedMessage
in class com.sap.exception.BaseException
public String getNestedLocalizedMessage(TimeZone timeZone)
The specified time zone and the default locale are used for localization. The default time zone will be used, if the time zone parameter is null.
These values have no effect if the finallyLocalize method has been already called.
If the localized message is not specified, the non-localizable message is returned (if specified).
getNestedLocalizedMessage
in class com.sap.exception.BaseException
timeZone
- time zonepublic void finallyLocalize()
LocalizableText
message
(if there is one attached).
This means no further localization process can be performed
on that object. If there is a nested exception implementing
IBaseException
, it will be localized recursively.
The default locale and the default time zone are used for localization.
finallyLocalize
in class com.sap.exception.BaseException
public void finallyLocalize(TimeZone timeZone)
LocalizableText
message
(if there is one attached).
This means no further localization process can be performed
on that object. If there is a nested exception implementing
IBaseException
, it will be localized recursively.
The specified time zone and the default locale are used for localization. If time zone parameter is null, the default time zone will be used.
finallyLocalize
in class com.sap.exception.BaseException
timeZone
- time zonepublic String getMessage()
getLocalizedMessage()
.getMessage
in class com.sap.exception.BaseException
|
SAP BI Java SDK | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |