Class OpenLineageExceptionHandler
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ffdc.RESTExceptionHandler
-
- org.odpi.openmetadata.governanceservers.openlineage.util.OpenLineageExceptionHandler
-
public class OpenLineageExceptionHandler extends RESTExceptionHandler
-
-
Constructor Summary
Constructors Constructor Description OpenLineageExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcaptureOpenLineageException(FFDCResponseBase response, OpenLineageException e)voiddetectAndThrowOpenLineageException(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, handleMissingValue, handleNoRequestBody, handleUnexpectedException
-
-
-
-
Method Detail
-
captureOpenLineageException
public void captureOpenLineageException(FFDCResponseBase response, OpenLineageException e)
-
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
-
-