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