com.crystaldecisions.sdk.occa.report.lib
Class ReportSDKException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase
              extended by com.crystaldecisions.sdk.occa.report.lib.ReportSDKException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ReportDefControllerException, ReportSDKAlertException, ReportSDKCancelException, ReportSDKClientDocException, ReportSDKFormulaFieldException, ReportSDKGroupException, ReportSDKParameterFieldException, ReportSDKPrinterException, ReportSDKResultFieldException, ReportSDKRunningTotalFieldException, ReportSDKServerException, ReportSDKSortException, ReportSDKSummaryFieldException

public class ReportSDKException
extends ReportSDKExceptionBase

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 should throw only ReportSDKExceptions.

See Also:
Serialized Form

Constructor Summary
ReportSDKException(int errorCode, java.lang.String errorMsg)
           
ReportSDKException(int errorCode, java.lang.String errorMsg, java.lang.Throwable cause)
           
 
Method Summary
 ReportSDKError getSDKError()
           
static void throwReportSDKException(int errorCode, java.lang.String msg)
           
static void throwReportSDKException(int errorCode, java.lang.String msg, java.lang.Throwable previous)
           
static void throwReportSDKException(java.lang.String msg, ReportSDKException original)
           
 java.lang.String toString()
           
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase
errorCode, findCause, 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

ReportSDKException

public ReportSDKException(int errorCode,
                          java.lang.String errorMsg)

ReportSDKException

public ReportSDKException(int errorCode,
                          java.lang.String errorMsg,
                          java.lang.Throwable cause)
Method Detail

getSDKError

public ReportSDKError getSDKError()

throwReportSDKException

public static void throwReportSDKException(java.lang.String msg,
                                           ReportSDKException original)
                                    throws ReportSDKException
Throws:
ReportSDKException

throwReportSDKException

public static void throwReportSDKException(int errorCode,
                                           java.lang.String msg)
                                    throws ReportSDKException
Throws:
ReportSDKException

throwReportSDKException

public static void throwReportSDKException(int errorCode,
                                           java.lang.String msg,
                                           java.lang.Throwable previous)
                                    throws ReportSDKException
Throws:
ReportSDKException

toString

public java.lang.String toString()
Overrides:
toString in class ReportSDKExceptionBase