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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    captureOpenLineageException(org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase response, OpenLineageException e)
     
    void
    detectAndThrowOpenLineageException(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

    captureExceptions, captureExceptions, captureInvalidParameterException, capturePropertyServerException, captureUserNotAuthorizedException, detectAndThrowInvalidParameterException, detectAndThrowInvalidParameterException, detectAndThrowPropertyServerException, detectAndThrowPropertyServerException, detectAndThrowStandardExceptions, detectAndThrowUserNotAuthorizedException, detectAndThrowUserNotAuthorizedException, handleBadType, handleInvalidPropertiesObject, handleMissingValue, handleNoRequestBody, handleNoRequestBody, handleUnexpectedException

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 called
      restResult - response from the rest call. This generated in the remote server.
      Throws:
      OpenLineageException - encoded exception from the server