| 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(FFDCResponse response,
OCFCheckedExceptionBase error,
String exceptionClassName)
Set the exception information into the response.
|
protected void |
RESTExceptionHandler.captureCheckedException(FFDCResponse response,
OCFCheckedExceptionBase error,
String exceptionClassName,
Map<String,Object> exceptionProperties)
Set the exception information into the response.
|
void |
RESTExceptionHandler.captureExceptions(FFDCResponse response,
Throwable error,
String methodName)
Set the exception information into the response.
|
void |
RESTExceptionHandler.captureExceptions(FFDCResponse response,
Throwable error,
String methodName,
AuditLog auditLog)
Set the exception information into the response.
|
void |
RESTExceptionHandler.captureInvalidParameterException(FFDCResponse response,
InvalidParameterException error)
Set the exception information into the response.
|
void |
RESTExceptionHandler.capturePropertyServerException(FFDCResponse response,
PropertyServerException error)
Set the exception information into the response.
|
void |
RESTExceptionHandler.captureThrowable(FFDCResponse response,
Throwable error,
String methodName)
Set the exception information into the response.
|
void |
RESTExceptionHandler.captureThrowable(FFDCResponse response,
Throwable error,
String methodName,
AuditLog auditLog)
Deprecated.
|
void |
RESTExceptionHandler.captureUserNotAuthorizedException(FFDCResponse response,
UserNotAuthorizedException error)
Set the exception information into the response.
|
void |
RESTExceptionHandler.detectAndThrowInvalidParameterException(FFDCResponse restResult)
Throw an InvalidParameterException if it is encoded in the REST response.
|
void |
RESTExceptionHandler.detectAndThrowPropertyServerException(FFDCResponse restResult)
Throw a PropertyServerException if it is encoded in the REST response.
|
void |
RESTExceptionHandler.detectAndThrowStandardExceptions(String methodName,
FFDCResponse restResult)
Throw an exception if it is encoded in the REST response.
|
void |
RESTExceptionHandler.detectAndThrowUserNotAuthorizedException(FFDCResponse restResult)
Throw an UserNotAuthorizedException if it is encoded in the REST response.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GenericResponse<R>
If an OMAS uses Generic types to implement it's Java API, then the responses can implement this interface.
|
| 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 |
ConnectionResponse
ConnectionResponse is the response structure used on REST API calls that return a
Connection object as a response.
|
class |
ConnectorTypeResponse
ConnectorTypeResponse is the response structure used on REST API calls that return a
ConnectorType object as a response.
|
class |
CountResponse
CountResponse defines the response structure for the OMAS REST API calls that returns a
number as a response.
|
class |
FFDCResponseBase |
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 |
PropertiesResponse
PropertiesResponse is the response structure used on REST API calls that return a
property map object 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.
|
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.