|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException
public class ReportSDKException
All exceptions within the Report SDK are mapped to ReportSDKException. The exception policy is this: Exceptions are caught at the earliest opportunity, mapped to a ReportSDKException and optionally re-thrown. Report SDK methods declare to throw only ReportSDKExceptions.
| Constructor Summary | |
|---|---|
ReportSDKException(int errorCode,
java.lang.String errorMsg)
Deprecated. As of version 4.0. Replaced by ReportSDKException.ReportSDKException(String, int, String). |
|
ReportSDKException(int errorCode,
java.lang.String errorMsg,
java.lang.Throwable cause)
Deprecated. As of version 4.0. Replaced by ReportSDKException.ReportSDKException(String, int, String, Throwable). |
|
ReportSDKException(java.lang.String RCI,
int errorCode,
java.lang.String errorMsg)
For internal use only. |
|
ReportSDKException(java.lang.String RCI,
int errorCode,
java.lang.String errorMsg,
java.lang.Throwable cause)
For internal use only. |
|
| Method Summary | |
|---|---|
ReportSDKError |
getSDKError()
Gets the SDK error code, which is indicative of the cause of the exception. |
static void |
throwReportSDKException(int errorCode,
java.lang.String msg)
Deprecated. As of version 4.0. Replaced by ReportSDKException.throwReportSDKException(String, int, String). |
static void |
throwReportSDKException(int errorCode,
java.lang.String msg,
java.lang.Throwable previous)
Deprecated. As of version 4.0. Replaced by ReportSDKException.throwReportSDKException(String, int, String, Throwable). |
static void |
throwReportSDKException(java.lang.String RCI,
int errorCode,
java.lang.String msg)
For internal use only. |
static void |
throwReportSDKException(java.lang.String RCI,
int errorCode,
java.lang.String msg,
java.lang.Throwable previous)
For internal use only. |
static void |
throwReportSDKException(java.lang.String msg,
ReportSDKException original)
For internal use only. |
java.lang.String |
toString()
Returns a short description of this exception, including the name of the ReportSDKError code. |
| Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase |
|---|
errorCode, findCause, getRootCauseIdentifier, isCausedByA |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public ReportSDKException(int errorCode,
java.lang.String errorMsg)
ReportSDKException.ReportSDKException(String, int, String).
@Deprecated
public ReportSDKException(int errorCode,
java.lang.String errorMsg,
java.lang.Throwable cause)
ReportSDKException.ReportSDKException(String, int, String, Throwable).
public ReportSDKException(java.lang.String RCI,
int errorCode,
java.lang.String errorMsg)
public ReportSDKException(java.lang.String RCI,
int errorCode,
java.lang.String errorMsg,
java.lang.Throwable cause)
| Method Detail |
|---|
public ReportSDKError getSDKError()
ReportSDKError indicative of the cause of the exceptionReportSDKError
public static void throwReportSDKException(java.lang.String msg,
ReportSDKException original)
throws ReportSDKException
ReportSDKException
@Deprecated
public static void throwReportSDKException(int errorCode,
java.lang.String msg)
throws ReportSDKException
ReportSDKException.throwReportSDKException(String, int, String).
ReportSDKException
@Deprecated
public static void throwReportSDKException(int errorCode,
java.lang.String msg,
java.lang.Throwable previous)
throws ReportSDKException
ReportSDKException.throwReportSDKException(String, int, String, Throwable).
ReportSDKException
public static void throwReportSDKException(java.lang.String RCI,
int errorCode,
java.lang.String msg)
throws ReportSDKException
ReportSDKException
public static void throwReportSDKException(java.lang.String RCI,
int errorCode,
java.lang.String msg,
java.lang.Throwable previous)
throws ReportSDKException
ReportSDKExceptionpublic java.lang.String toString()
ReportSDKError code.
toString in class ReportSDKExceptionBaseString representation of this exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||