| Package | Description |
|---|---|
| org.odpi.openmetadata.commonservices.ffdc |
The FFDC Services provide common exceptions and error handling for service running in OMAG Servers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InvalidParameterHandler.throwCannotDeleteElementInUse(String guid,
String type,
String serviceName,
String methodName)
Throw an exception to indicate that the call to a method is not supported.
|
void |
InvalidParameterHandler.throwMethodNotSupported(String userId,
String serviceName,
String serverName,
String methodName)
Throw an exception to indicate that the call to a method is not supported.
|
void |
InvalidParameterHandler.throwUnknownElement(String userId,
String guid,
String type,
String serviceName,
String serverName,
String methodName)
Throw an exception to indicate that the requested element is not recognized.
|
void |
InvalidParameterHandler.validateAssetInSupportedZone(String assetGUID,
String parameterName,
List<String> assetZones,
List<String> supportedZones,
String serviceName,
String methodName)
Compare the supported zones with the zones stored in the asset.
|
void |
InvalidParameterHandler.validateConnection(Connection connection,
String parameterName,
String methodName)
Throw an exception if the supplied connection is null
|
void |
InvalidParameterHandler.validateEnum(Object enumValue,
String parameterName,
String methodName)
Throw an exception if the supplied enum is null
|
void |
InvalidParameterHandler.validateGUID(String guid,
String guidParameter,
String methodName)
Throw an exception if the supplied userId is null
|
void |
InvalidParameterHandler.validateName(String name,
String nameParameter,
String methodName)
Throw an exception if the supplied userId is null
|
void |
InvalidParameterHandler.validateObject(Object object,
String nameParameter,
String methodName)
Throw an exception if the supplied userId is null
|
void |
InvalidParameterHandler.validateOMAGServerPlatformURL(String omagServerPlatformURL,
String methodName)
Throw an exception if a server URL or has not been supplied.
|
void |
InvalidParameterHandler.validateOMAGServerPlatformURL(String omagServerPlatformURL,
String serverName,
String methodName)
Throw an exception if a server URL or has not been supplied.
|
int |
InvalidParameterHandler.validatePaging(int startFrom,
int pageSize,
String methodName)
Throw an exception if the supplied paging values don't make sense.
|
void |
InvalidParameterHandler.validateSearchString(String searchString,
String searchParameter,
String methodName)
Throw an exception if the supplied userId is null
|
void |
InvalidParameterHandler.validateStringArray(List<String> stringArray,
String parameterName,
String methodName)
Throw an exception if the supplied array is null or empty
|
void |
InvalidParameterHandler.validateText(String text,
String parameterName,
String methodName)
Throw an exception if the supplied text field is null
|
String |
InvalidParameterHandler.validateTypeName(String typeName,
String superTypeName,
String serviceName,
String methodName,
OMRSRepositoryHelper repositoryHelper)
Throw an exception if the supplied type name is not recognized not of the correct subclass
|
void |
InvalidParameterHandler.validateUserId(String userId,
String methodName)
Throw an exception if the supplied userId is null
|
Copyright © 2018–2020 ODPi. All rights reserved.