public class SlException extends java.lang.RuntimeException implements IStatusProvider
Structured information can be obtained through getStatus(), and error code through IStatus.getCode()
. Localized messages can be obtained using IStatus.getMessage(java.util.Locale).
| Constructor and Description |
|---|
SlException(com.sap.tools.commons.status.IStatus status)
Sets the error status.
|
SlException(com.sap.tools.commons.status.IStatusProvider statusProvider)
Not part of the BI Semantic Layer Java SDK API, should not be called.
|
SlException(java.lang.String message,
com.sap.tools.commons.status.IStatus status)
Sets the error status.
|
| Modifier and Type | Method and Description |
|---|---|
IStatus |
getStatus()
Retrieves the error status.
|
public SlException(com.sap.tools.commons.status.IStatus status)
Not part of the BI Semantic Layer Java SDK API, should not be called.
status - The statusjava.lang.NullPointerException - if the status is nullpublic SlException(java.lang.String message,
com.sap.tools.commons.status.IStatus status)
Not part of the BI Semantic Layer Java SDK API, should not be called.
message - The error messagestatus - The statusjava.lang.NullPointerException - if the status is nullpublic SlException(com.sap.tools.commons.status.IStatusProvider statusProvider)
Not part of the BI Semantic Layer Java SDK API, should not be called.
statusProvider - The error messagejava.lang.NullPointerException - if the statusProvider is nullpublic IStatus getStatus()
getStatus in interface IStatusProviderIStatus object