Class GlossaryViewClientExceptionHandler

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.RESTExceptionHandler
org.odpi.openmetadata.accessservices.glossaryview.client.GlossaryViewClientExceptionHandler

public class GlossaryViewClientExceptionHandler extends org.odpi.openmetadata.commonservices.ffdc.RESTExceptionHandler
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    detectAndThrowGlossaryViewOmasException(String methodName, org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponse restResult)
    Throw an InvalidParameterException 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

    • GlossaryViewClientExceptionHandler

      public GlossaryViewClientExceptionHandler()
  • Method Details

    • detectAndThrowGlossaryViewOmasException

      public void detectAndThrowGlossaryViewOmasException(String methodName, org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponse restResult) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException
      Throw an InvalidParameterException if it is encoded in the REST response.
      Parameters:
      methodName - name of the method called
      restResult - response from the rest call
      Throws:
      org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException - encoded exception from the server