|
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 | +--java.lang.RuntimeException | +--com.sap.exception.BaseRuntimeException | +--com.sap.ip.bi.sdk.exception.BIRuntimeException
Represents BI Java SDK-specific runtime exceptions. Extended from SAP's
BaseRuntimeException
.
Fields inherited from interface com.sap.exception.IBaseException |
audit, defaultLocale |
Constructor Summary | |
BIRuntimeException(Locale locale)
Constructs a BIRuntimeException object with no parameter. |
|
BIRuntimeException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Object[] args,
Throwable cause)
Constructs a BIRuntimeException object
with log handling. |
|
BIRuntimeException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Throwable cause)
Constructs a BIRuntimeException object
with log handling. |
|
BIRuntimeException(Locale locale,
String messageId)
Constructs a BIRuntimeException object with message ID. |
|
BIRuntimeException(Locale locale,
String messageId,
Object[] args)
Constructs a BIRuntimeException object with message ID and
arguments. |
|
BIRuntimeException(Locale locale,
String messageId,
Object[] args,
Throwable cause)
Constructs a BIRuntimeException object with message ID,
arguments, and original exception. |
|
BIRuntimeException(Locale locale,
String messageId,
Throwable cause)
Constructs a BIRuntimeException object with message ID,
and original exception. |
|
BIRuntimeException(Locale locale,
Throwable cause)
Constructs a BIRuntimeException object with original 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.BaseRuntimeException |
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 BIRuntimeException(Locale locale, String messageId)
BIRuntimeException
object with message ID.locale
- Locale for messagemessageId
- unique ID of a given messageThrowable.Throwable(String)
public BIRuntimeException(Locale locale, String messageId, Object[] args)
BIRuntimeException
object with message ID and
arguments.locale
- Locale for messagemessageId
- unique ID of a given messageargs
- arguments of the formatted messagepublic BIRuntimeException(Locale locale, String messageId, Object[] args, Throwable cause)
BIRuntimeException
object with message ID,
arguments, and original exception.locale
- Locale for messagemessageId
- unique ID of a given messageargs
- arguments of the formatted messagecause
- the original exception to nest in this exceptionpublic BIRuntimeException(Locale locale, String messageId, Throwable cause)
BIRuntimeException
object with message ID,
and original exception.locale
- Locale for messagemessageId
- unique ID of a given messagecause
- the original exception to nest in this exceptionpublic BIRuntimeException(Locale locale, Throwable cause)
BIRuntimeException
object with original exception.locale
- Locale for messagecause
- the original exception to nest in this exceptionpublic BIRuntimeException(Locale locale)
BIRuntimeException
object with no parameter.locale
- Locale for messagepublic BIRuntimeException(Locale locale, com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, String messageId, Throwable cause)
BIRuntimeException
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 BIRuntimeException(Locale locale, com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, String messageId, Object[] args, Throwable cause)
BIRuntimeException
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.BaseRuntimeException
public void finallyLocalize(TimeZone arg0)
LocalizableText
message
(if there is one attached) with the specified time zone information.finallyLocalize
in class com.sap.exception.BaseRuntimeException
public String getLocalizedMessage()
BaseExceptionInfo
instance.getLocalizedMessage
in class com.sap.exception.BaseRuntimeException
Throwable.getLocalizedMessage()
public String getLocalizedMessage(TimeZone arg0)
getLocalizedMessage
in class com.sap.exception.BaseRuntimeException
public String getMessage()
getMessage
in class com.sap.exception.BaseRuntimeException
Throwable.getMessage()
public String getNestedLocalizedMessage()
getNestedLocalizedMessage
in class com.sap.exception.BaseRuntimeException
public String getNestedLocalizedMessage(TimeZone arg0)
getNestedLocalizedMessage
in class com.sap.exception.BaseRuntimeException
|
SAP BI Java SDK | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |