|
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.BIException
General-purpose exception for the BI Java SDK.
Fields inherited from interface com.sap.exception.IBaseException |
audit, defaultLocale |
Constructor Summary | |
BIException(Locale locale)
Creates an empty collection of messages and constructs a BIException object in which the description defaults
to null and the state defaults to null. |
|
BIException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Object[] args,
Throwable cause)
Constructs a BIException object
with log handling. |
|
BIException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Throwable cause)
Constructs a BIException object
with log handling. |
|
BIException(Locale locale,
String messageId)
Constructs a BIException object with
the given description. |
|
BIException(Locale locale,
String messageId,
Object[] args)
Constructs a BIException object with
the given description. |
|
BIException(Locale locale,
String messageId,
Object[] obj,
Throwable cause)
Constructs a BIException object with message ID,
message arguments, and original exception. |
|
BIException(Locale locale,
String messageId,
Throwable cause)
Constructs a BIException with the given description
and stores the original exception. |
|
BIException(Locale locale,
Throwable cause)
Constructs a BIException object with exception. |
Method Summary | |
void |
finallyLocalize()
Finally localizes the LocalizableText message
(if there is one attached). |
void |
finallyLocalize(TimeZone arg0)
Finally localizes the LocalizableText message
(if there is one attached) with the specified time zone information. |
String |
getLocalizedMessage()
Gets the localized message from BaseExceptionInfo instance. |
String |
getLocalizedMessage(TimeZone arg0)
Returns the localized message string with a time zone restriction. |
String |
getMessage()
Returns the exception message. |
String |
getNestedLocalizedMessage()
Returns the nested localized message. |
String |
getNestedLocalizedMessage(TimeZone arg0)
Returns the nested localized message with time zone information. |
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 BIException(Locale locale)
BIException
object in which the description defaults
to null and the state defaults to null.locale
- Locale for messagepublic BIException(Locale locale, String messageId)
BIException
object with
the given description.locale
- Locale for messagemessageId
- unique ID of a given messagepublic BIException(Locale locale, String messageId, Object[] args)
BIException
object with
the given description.locale
- Locale for messagemessageId
- unique ID of a given messageargs
- arguments of the formatted messagepublic BIException(Locale locale, Throwable cause)
BIException
object with exception.locale
- Locale for messagecause
- the exception that caused to this exceptionpublic BIException(Locale locale, String messageId, Object[] obj, Throwable cause)
BIException
object with message ID,
message arguments, and original exception.locale
- Locale for messagemessageId
- unique ID of a given messageobj
- argument of the messagecause
- the original exception to nest in this exceptionpublic BIException(Locale locale, String messageId, Throwable cause)
BIException
with the given description
and stores the original exception.locale
- Locale for messagemessageId
- unique ID of a given messagecause
- the original exception to nest in this exceptionpublic BIException(Locale locale, com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, String messageId, Throwable cause)
BIException
object
with log handling.locale
- Locale for messagecategory
- category of the exceptionseverity
- severity of the exceptionlocation
- the location where this exception is thrownmessageId
- unique ID of a given messagecause
- the original exception to nest in this exceptionpublic BIException(Locale locale, com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, String messageId, Object[] args, Throwable cause)
BIException
object
with log handling.locale
- Locale for messagecategory
- category of the exceptionseverity
- severity of the exceptionlocation
- the location where this exception is thrownmessageId
- unique ID of a given messageargs
- arguments of the formatted messagecause
- the original exception to nest in this exceptionMethod Detail |
public void finallyLocalize()
LocalizableText
message
(if there is one attached).finallyLocalize
in class com.sap.exception.BaseException
public void finallyLocalize(TimeZone arg0)
LocalizableText
message
(if there is one attached) with the specified time zone information.finallyLocalize
in class com.sap.exception.BaseException
public String getLocalizedMessage()
BaseExceptionInfo
instance.getLocalizedMessage
in class com.sap.exception.BaseException
Throwable.getLocalizedMessage()
public String getLocalizedMessage(TimeZone arg0)
getLocalizedMessage
in class com.sap.exception.BaseException
public String getMessage()
getMessage
in class com.sap.exception.BaseException
Throwable.getMessage()
public String getNestedLocalizedMessage()
getNestedLocalizedMessage
in class com.sap.exception.BaseException
public String getNestedLocalizedMessage(TimeZone arg0)
getNestedLocalizedMessage
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 |