| Package | Description |
|---|---|
| org.odpi.openmetadata.commonservices.ffdc |
The FFDC Services provide common exceptions and error handling for service running in OMAG Servers.
|
| org.odpi.openmetadata.commonservices.ffdc.rest |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RESTExceptionHandler.captureCheckedException(FFDCResponseBase response,
OCFCheckedExceptionBase error,
String exceptionClassName)
Set the exception information into the response.
|
protected void |
RESTExceptionHandler.captureCheckedException(FFDCResponseBase response,
OCFCheckedExceptionBase error,
String exceptionClassName,
Map<String,Object> exceptionProperties)
Set the exception information into the response.
|
void |
RESTExceptionHandler.captureInvalidParameterException(FFDCResponseBase response,
InvalidParameterException error)
Set the exception information into the response.
|
void |
RESTExceptionHandler.capturePropertyServerException(FFDCResponseBase response,
PropertyServerException error)
Set the exception information into the response.
|
void |
RESTExceptionHandler.captureThrowable(FFDCResponseBase response,
Throwable error,
String methodName)
Set the exception information into the response.
|
void |
RESTExceptionHandler.captureThrowable(FFDCResponseBase response,
Throwable error,
String methodName,
AuditLog auditLog)
Set the exception information into the response.
|
void |
RESTExceptionHandler.captureUserNotAuthorizedException(FFDCResponseBase response,
UserNotAuthorizedException error)
Set the exception information into the response.
|
void |
RESTExceptionHandler.detectAndThrowInvalidParameterException(FFDCResponseBase restResult)
Throw an InvalidParameterException if it is encoded in the REST response.
|
void |
RESTExceptionHandler.detectAndThrowInvalidParameterException(String methodName,
FFDCResponseBase restResult)
Deprecated.
|
void |
RESTExceptionHandler.detectAndThrowPropertyServerException(FFDCResponseBase restResult)
Throw a PropertyServerException if it is encoded in the REST response.
|
void |
RESTExceptionHandler.detectAndThrowPropertyServerException(String methodName,
FFDCResponseBase restResult)
Deprecated.
|
void |
RESTExceptionHandler.detectAndThrowStandardExceptions(String methodName,
FFDCResponseBase restResult)
Throw an exception if it is encoded in the REST response.
|
void |
RESTExceptionHandler.detectAndThrowUserNotAuthorizedException(FFDCResponseBase restResult)
Throw an UserNotAuthorizedException if it is encoded in the REST response.
|
void |
RESTExceptionHandler.detectAndThrowUserNotAuthorizedException(String methodName,
FFDCResponseBase restResult)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanResponse
BooleanResponse is the response structure used on OMAG REST API calls that return a boolean response.
|
class |
CountResponse
CountResponse defines the response structure for the OMAS REST API calls that returns a
number as a response.
|
class |
GUIDListResponse
GUIDListResponse is the response structure used on the OMAS REST API calls that return a
list of unique identifiers (guids) as a response.
|
class |
GUIDResponse
GUIDResponse is the response structure used on the OMAS REST API calls that return a
unique identifier (guid) object as a response.
|
class |
NameListResponse
NameListResponse is the response structure used on the OMAS REST API calls that return a
list of names as a response.
|
class |
RegisteredOMAGServicesResponse
RegisteredOMAGServicesResponse provides a response object for returning information about a
list of services that are registered in an OMAG Server Platform.
|
class |
StringMapResponse
StringMapResponse is the response structure used on the OMAS REST API calls that return a
map of names to description as a response.
|
class |
StringResponse
GUIDResponse is the response structure used on the OMAS REST API calls that return a
unique identifier (guid) object as a response.
|
class |
VoidResponse
VoidResponse defines the response structure for the OMAS REST API calls that returns a
void as a response.
|
| Constructor and Description |
|---|
FFDCResponseBase(FFDCResponseBase template)
Copy/clone constructor
|
Copyright © 2018–2020 ODPi. All rights reserved.