Class DataEngineProxyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataEngineProxyException
    extends OCFCheckedExceptionBase
    DataEngineProxyException provides a checked exception for reporting errors found when using the Data Engine Proxy.
    See Also:
    Serialized Form
    • Constructor Detail

      • DataEngineProxyException

        public DataEngineProxyException​(int httpCode,
                                        java.lang.String className,
                                        java.lang.String actionDescription,
                                        java.lang.String errorMessage,
                                        java.lang.String systemAction,
                                        java.lang.String userAction)
        Parameters:
        httpCode - - http response code to use if this exception flows over a rest call
        className - - name of class reporting error
        actionDescription - - description of function it was performing when error detected
        errorMessage - - description of error
        systemAction - - actions of the system as a result of the error
        userAction - - instructions for correcting the error
      • DataEngineProxyException

        public DataEngineProxyException​(int httpCode,
                                        java.lang.String className,
                                        java.lang.String actionDescription,
                                        java.lang.String errorMessage,
                                        java.lang.String systemAction,
                                        java.lang.String userAction,
                                        java.lang.Throwable caughtError)
        This is the constructor used for creating a ConnectionCheckedException that resulted from a previous error.
        Parameters:
        httpCode - - http response code to use if this exception flows over a rest call
        className - - name of class reporting error
        actionDescription - - description of function it was performing when error detected
        errorMessage - - description of error
        systemAction - - actions of the system as a result of the error
        userAction - - instructions for correcting the error
        caughtError - - the error that resulted in this exception.