Class GlossaryViewClientExceptionHandler
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.RESTExceptionHandler
org.odpi.openmetadata.accessservices.glossaryview.client.GlossaryViewClientExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
detectAndThrowGlossaryViewOmasException
(String methodName, GlossaryViewEntityDetailResponse restResult) Throw an InvalidParameterException 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, handleInvalidPropertiesObject, handleMissingValue, handleNoRequestBody, handleNoRequestBody, handleUnexpectedException
-
Constructor Details
-
GlossaryViewClientExceptionHandler
public GlossaryViewClientExceptionHandler()
-
-
Method Details
-
detectAndThrowGlossaryViewOmasException
public void detectAndThrowGlossaryViewOmasException(String methodName, GlossaryViewEntityDetailResponse restResult) throws 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:
GlossaryViewOmasException
- encoded exception from the server
-