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 -
Method Summary
Modifier and TypeMethodDescriptionvoiddetectAndThrowGlossaryViewOmasException(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
-
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 calledrestResult- response from the rest call- Throws:
org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- encoded exception from the server
-