@ControllerAdvice
public class ExceptionHandlerController
extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
| Constructor and Description |
|---|
ExceptionHandlerController() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.http.ResponseEntity<Object> |
handleAssetCatalogException(AssetCatalogException ex,
org.springframework.web.context.request.WebRequest request) |
protected org.springframework.http.ResponseEntity<Object> |
handleGlossaryViewOmasException(GlossaryViewOmasException ex,
org.springframework.web.context.request.WebRequest request) |
protected org.springframework.http.ResponseEntity<Object> |
handleMalformedInput(MalformedInputException ex,
org.springframework.web.context.request.WebRequest request) |
protected org.springframework.http.ResponseEntity<Object> |
handleOpenLineageClientException(OpenLineageServiceException ex,
org.springframework.web.context.request.WebRequest request) |
protected org.springframework.http.ResponseEntity<Object> |
handleResourceException(org.springframework.web.client.RestClientException ex,
org.springframework.web.context.request.WebRequest request) |
protected org.springframework.http.ResponseEntity<Object> |
handleUnauthorizedException(UserNotAuthorizedException ex,
org.springframework.web.context.request.WebRequest request) |
handleAsyncRequestTimeoutException, handleBindException, handleConversionNotSupported, handleException, handleExceptionInternal, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValid, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleServletRequestBindingException, handleTypeMismatch@ExceptionHandler(value=MalformedInputException.class) protected org.springframework.http.ResponseEntity<Object> handleMalformedInput(MalformedInputException ex, org.springframework.web.context.request.WebRequest request)
ex - - raised exception to be handledrequest - - the initial web request - the initial web request@ExceptionHandler(value={org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException.class,org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException.class})
protected org.springframework.http.ResponseEntity<Object> handleAssetCatalogException(AssetCatalogException ex,
org.springframework.web.context.request.WebRequest request)
ex - - raised exception to be handledrequest - - the initial web request@ExceptionHandler(value=OpenLineageServiceException.class) protected org.springframework.http.ResponseEntity<Object> handleOpenLineageClientException(OpenLineageServiceException ex, org.springframework.web.context.request.WebRequest request)
ex - - raised exception to be handledrequest - - the initial web request@ExceptionHandler(value=org.springframework.web.client.RestClientException.class) protected org.springframework.http.ResponseEntity<Object> handleResourceException(org.springframework.web.client.RestClientException ex, org.springframework.web.context.request.WebRequest request)
ex - - raised exception to be handledrequest - - the initial web request@ExceptionHandler(value=UserNotAuthorizedException.class) protected org.springframework.http.ResponseEntity<Object> handleUnauthorizedException(UserNotAuthorizedException ex, org.springframework.web.context.request.WebRequest request)
ex - - raised exception to be handledrequest - - the initial web request@ExceptionHandler(value=org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException.class) protected org.springframework.http.ResponseEntity<Object> handleGlossaryViewOmasException(GlossaryViewOmasException ex, org.springframework.web.context.request.WebRequest request)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.