Class LineageWarehouseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase
org.odpi.openmetadata.governanceservers.lineagewarehouse.ffdc.LineageWarehouseException
- All Implemented Interfaces:
Serializable
LineageWarehouseException provides a checked exception for reporting errors found when using
the Lineage Warehouse Services.
Typically, these errors are either configuration or operational errors that can be fixed by an
administrator. However, there may be the odd bug that surfaces here.
The LineageWarehouseErrorCode can be used with this exception to populate it with standard messages.
The aim is to be able to uniquely identify the cause and remedy for the error.
- See Also:
-
Constructor Summary
ConstructorDescriptionLineageWarehouseException
(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction) LineageWarehouseException
(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction, Throwable caughtError) This is the constructor used for creating a ConnectionCheckedException that resulted from a previous error. -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase
equals, getErrorMessage, getRelatedProperties, getReportedCaughtException, getReportedCaughtExceptionClassName, getReportedErrorMessage, getReportedErrorMessageId, getReportedErrorMessageParameters, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCode, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
LineageWarehouseException
public LineageWarehouseException(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction) - Parameters:
httpCode
- - http response code to use if this exception flows over a rest callclassName
- - name of class reporting erroractionDescription
- - description of function it was performing when error detectederrorMessage
- - description of errorsystemAction
- - actions of the system as a result of the erroruserAction
- - instructions for correcting the error
-
LineageWarehouseException
public LineageWarehouseException(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction, 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 callclassName
- - name of class reporting erroractionDescription
- - description of function it was performing when error detectederrorMessage
- - description of errorsystemAction
- - actions of the system as a result of the erroruserAction
- - instructions for correcting the errorcaughtError
- - the error that resulted in this exception.
-