|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.sl.sdk.framework.SlException
public class SlException
This is the base class of Semantic Layer SDK exceptions.
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
IStatus |
getStatus()
Retrieves the error status. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 status
java.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 status
java.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 message
java.lang.NullPointerException
- if the statusProvider is nullMethod Detail |
---|
public IStatus getStatus()
getStatus
in interface IStatusProvider
IStatus
object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |