Class OpenLineageExceptionHandler
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.RESTExceptionHandler
org.odpi.openmetadata.governanceservers.openlineage.util.OpenLineageExceptionHandler
public class OpenLineageExceptionHandler
extends org.odpi.openmetadata.commonservices.ffdc.RESTExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcaptureOpenLineageException(org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase response, OpenLineageException e) voiddetectAndThrowOpenLineageException(String methodName, org.odpi.openmetadata.commonservices.ffdc.rest.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, handleUnexpectedException
-
Constructor Details
-
OpenLineageExceptionHandler
public OpenLineageExceptionHandler()
-
-
Method Details
-
captureOpenLineageException
public void captureOpenLineageException(org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase response, OpenLineageException e) -
detectAndThrowOpenLineageException
public void detectAndThrowOpenLineageException(String methodName, org.odpi.openmetadata.commonservices.ffdc.rest.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
-