public class OMAGServerExceptionHandler extends RESTExceptionHandler
| Constructor and Description |
|---|
OMAGServerExceptionHandler()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
captureConfigurationErrorException(FFDCResponseBase response,
OMAGConfigurationErrorException error)
Set the exception information into the response.
|
void |
captureNotAuthorizedException(FFDCResponseBase response,
OMAGNotAuthorizedException error)
Set the exception information into the response.
|
void |
captureRuntimeException(String methodName,
FFDCResponseBase response,
Throwable runtimeException)
Set the exception information into the response.
|
void |
captureRuntimeException(String serverName,
String methodName,
FFDCResponseBase response,
Throwable runtimeException)
Set the exception information into the response.
|
captureCheckedException, captureCheckedException, captureInvalidParameterException, capturePropertyServerException, captureRepositoryErrorException, captureThrowable, captureThrowable, captureUserNotAuthorizedException, detectAndThrowInvalidParameterException, detectAndThrowPropertyServerException, detectAndThrowStandardExceptions, detectAndThrowUserNotAuthorizedException, handleNoRequestBody, handleUnexpectedException, handleWrongTypeForGUIDExceptionpublic OMAGServerExceptionHandler()
public void captureRuntimeException(String serverName, String methodName, FFDCResponseBase response, Throwable runtimeException)
serverName - this server instancemethodName - method calledresponse - REST ResponseruntimeException - returned error.public void captureRuntimeException(String methodName, FFDCResponseBase response, Throwable runtimeException)
methodName - method calledresponse - REST ResponseruntimeException - returned error.public void captureConfigurationErrorException(FFDCResponseBase response, OMAGConfigurationErrorException error)
response - REST Responseerror - returned response.public void captureNotAuthorizedException(FFDCResponseBase response, OMAGNotAuthorizedException error)
response - REST Responseerror - returned response.Copyright © 2018–2020 ODPi. All rights reserved.