Class OpenLineageExceptionHandler
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.RESTExceptionHandler
org.odpi.openmetadata.governanceservers.openlineage.util.OpenLineageExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
detectAndThrowOpenLineageException
(String methodName, FFDCResponseBase restResult) Throw an detectAndThrowOpenLineageException if it is encoded in the REST response.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.RESTExceptionHandler
captureCheckedException, captureCheckedException, captureExceptions, captureExceptions, captureInvalidParameterException, capturePropertyServerException, captureUserNotAuthorizedException, detectAndThrowInvalidParameterException, detectAndThrowInvalidParameterException, detectAndThrowPropertyServerException, detectAndThrowPropertyServerException, detectAndThrowStandardExceptions, detectAndThrowUserNotAuthorizedException, detectAndThrowUserNotAuthorizedException, handleBadType, handleInvalidPropertiesObject, handleMissingValue, handleNoRequestBody, handleNoRequestBody, handleUnexpectedException
-
Constructor Details
-
OpenLineageExceptionHandler
public OpenLineageExceptionHandler()
-
-
Method Details
-
captureOpenLineageException
-
detectAndThrowOpenLineageException
public void detectAndThrowOpenLineageException(String methodName, FFDCResponseBase restResult) throws OpenLineageException Throw an detectAndThrowOpenLineageException if it is encoded in the REST response.- Parameters:
methodName
- name of the method calledrestResult
- response from the rest call. This generated in the remote server.- Throws:
OpenLineageException
- encoded exception from the server
-