Class OpenLineageExceptionHandler

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.RESTExceptionHandler
org.odpi.openmetadata.governanceservers.openlineage.util.OpenLineageExceptionHandler

public class OpenLineageExceptionHandler extends RESTExceptionHandler
  • Constructor Details

    • OpenLineageExceptionHandler

      public OpenLineageExceptionHandler()
  • Method Details

    • 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 called
      restResult - response from the rest call. This generated in the remote server.
      Throws:
      OpenLineageException - encoded exception from the server