public class TexExceptionHandler extends Object
| Constructor and Description |
|---|
TexExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
captureCheckedException(FFDCResponse response,
OCFCheckedExceptionBase error,
String exceptionClassName)
Method for capturing an exception into a REST response.
|
static TexViewServiceException |
mapOMRSInvalidParameterException(String className,
String methodName,
InvalidParameterException repositoryException) |
static TexViewServiceException |
mapOMRSRepositoryErrorException(String className,
String methodName,
RepositoryErrorException repositoryException) |
static TexViewServiceException |
mapOMRSUserNotAuthorizedException(String className,
String methodName,
UserNotAuthorizedException repositoryException) |
public static void captureCheckedException(FFDCResponse response, OCFCheckedExceptionBase error, String exceptionClassName)
response - REST Responseerror - returned response.exceptionClassName - class name of the exception to recreatepublic static TexViewServiceException mapOMRSUserNotAuthorizedException(String className, String methodName, UserNotAuthorizedException repositoryException)
public static TexViewServiceException mapOMRSRepositoryErrorException(String className, String methodName, RepositoryErrorException repositoryException)
public static TexViewServiceException mapOMRSInvalidParameterException(String className, String methodName, InvalidParameterException repositoryException)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.