Class GlossaryViewClientExceptionHandler
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ffdc.RESTExceptionHandler
-
- org.odpi.openmetadata.accessservices.glossaryview.client.GlossaryViewClientExceptionHandler
-
public class GlossaryViewClientExceptionHandler extends RESTExceptionHandler
-
-
Constructor Summary
Constructors Constructor Description GlossaryViewClientExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetectAndThrowGlossaryViewOmasException(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, captureThrowable, captureThrowable, captureUserNotAuthorizedException, detectAndThrowInvalidParameterException, detectAndThrowInvalidParameterException, detectAndThrowPropertyServerException, detectAndThrowPropertyServerException, detectAndThrowStandardExceptions, detectAndThrowUserNotAuthorizedException, detectAndThrowUserNotAuthorizedException, handleMissingValue, handleNoRequestBody, handleUnexpectedException
-
-
-
-
Method Detail
-
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
-
-