Class ExceptionAccumulatorBase
java.lang.Object
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.accumulators.ExceptionAccumulatorBase
- Direct Known Subclasses:
MaintenanceAccumulator
,QueryAccumulatorBase
ExceptionAccumulatorBase collections exception responses from multiple queries.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Throw a ClassificationErrorException if it was returned by one of the calls to a cohort connector.void
Throw a EntityNotDeletedException if it was returned by one of the calls to a cohort connector.void
Throw a EntityNotKnownException if it was returned by one of the calls to a cohort connector.void
Throw a EntityProxyOnlyException if it was returned by one of the calls to a cohort connector.void
Throw a FunctionNotSupportedException if it was returned by all the calls to the cohort connectors.void
throwCapturedGenericException
(String methodName) Throw a RepositoryErrorException if an unexpected exception was returned by one of the calls to a cohort connector.void
Throw a InvalidParameterException if it was returned by one of the calls to a cohort connector.void
Throw a TypeDefNotKnownException if it was returned by one of the calls to a cohort connector.void
Throw a PagingErrorException if it was returned by one of the calls to a cohort connector.void
Throw a PropertyErrorException if it was returned by one of the calls to a cohort connector.void
Throw a RelationshipNotDeletedException if it was returned by one of the calls to a cohort connector.void
Throw a RelationshipNotKnownException if it was returned by one of the calls to a cohort connector.void
Throw a RepositoryErrorException if it was returned by one of the calls to a cohort connector.void
Throw a StatusNotSupportedException if it was returned by one of the calls to a cohort connector.void
Throw a TypeDefNotKnownException if it was returned by one of the calls to a cohort connector.void
Throw a TypeDefNotKnownException if it was returned by one of the calls to a cohort connector.void
Throw a TypeDefNotSupportedException if it was returned by one of the calls to a cohort connector.void
Throw a TypeErrorException if it was returned by one of the calls to a cohort connector.void
Throw a UserNotAuthorizedException if it was returned by one of the calls to a cohort connector.
-
Method Details
-
throwCapturedClassificationErrorException
Throw a ClassificationErrorException if it was returned by one of the calls to a cohort connector.- Throws:
ClassificationErrorException
- the classification is not known
-
throwCapturedEntityNotDeletedException
Throw a EntityNotDeletedException if it was returned by one of the calls to a cohort connector.- Throws:
EntityNotDeletedException
- the entity is not in deleted status
-
throwCapturedEntityNotKnownException
Throw a EntityNotKnownException if it was returned by one of the calls to a cohort connector.- Throws:
EntityNotKnownException
- the entity is not known in any of the federated repositories
-
throwCapturedEntityProxyOnlyException
Throw a EntityProxyOnlyException if it was returned by one of the calls to a cohort connector.- Throws:
EntityProxyOnlyException
- only entity proxies have been found in the available federated repositories
-
throwCapturedFunctionNotSupportedException
Throw a FunctionNotSupportedException if it was returned by all the calls to the cohort connectors.- Throws:
FunctionNotSupportedException
- the requested function is not supported in any of the federated repositories
-
throwCapturedInvalidParameterException
Throw a InvalidParameterException if it was returned by one of the calls to a cohort connector.- Throws:
InvalidParameterException
- one of the parameters is invalid
-
throwCapturedInvalidTypeDefException
Throw a TypeDefNotKnownException if it was returned by one of the calls to a cohort connector.- Throws:
InvalidTypeDefException
- the type definition is not of the correct format
-
throwCapturedPropertyErrorException
Throw a PropertyErrorException if it was returned by one of the calls to a cohort connector.- Throws:
PropertyErrorException
- the properties are not valid for the call
-
throwCapturedPagingErrorException
Throw a PagingErrorException if it was returned by one of the calls to a cohort connector.- Throws:
PagingErrorException
- the properties are not valid for the call
-
throwCapturedRelationshipNotDeletedException
Throw a RelationshipNotDeletedException if it was returned by one of the calls to a cohort connector.- Throws:
RelationshipNotDeletedException
- the relationship is not in deleted status
-
throwCapturedRelationshipNotKnownException
Throw a RelationshipNotKnownException if it was returned by one of the calls to a cohort connector.- Throws:
RelationshipNotKnownException
- the relationship is not known in any of the federated repositories
-
throwCapturedRepositoryErrorException
Throw a RepositoryErrorException if it was returned by one of the calls to a cohort connector.- Throws:
RepositoryErrorException
- there was an error in the repository
-
throwCapturedStatusNotSupportedException
Throw a StatusNotSupportedException if it was returned by one of the calls to a cohort connector.- Throws:
StatusNotSupportedException
- the status is not known in any of the federated repositories
-
throwCapturedGenericException
Throw a RepositoryErrorException if an unexpected exception was returned by one of the calls to a cohort connector.- Parameters:
methodName
- calling method- Throws:
RepositoryErrorException
- there was an unexpected error in the repository
-
throwCapturedTypeDefConflictException
Throw a TypeDefNotKnownException if it was returned by one of the calls to a cohort connector.- Throws:
TypeDefConflictException
- the type definition conflicts across the cohort
-
throwCapturedTypeDefNotSupportedException
Throw a TypeDefNotSupportedException if it was returned by one of the calls to a cohort connector.- Throws:
TypeDefNotSupportedException
- the type definition is not supported any of the federated repositories
-
throwCapturedTypeDefNotKnownException
Throw a TypeDefNotKnownException if it was returned by one of the calls to a cohort connector.- Throws:
TypeDefNotKnownException
- the type definition is not known in any of the federated repositories
-
throwCapturedTypeErrorException
Throw a TypeErrorException if it was returned by one of the calls to a cohort connector.- Throws:
TypeErrorException
- the type definition of the instance is not known in any of the federated repositories
-
throwCapturedUserNotAuthorizedException
Throw a UserNotAuthorizedException if it was returned by one of the calls to a cohort connector.- Throws:
UserNotAuthorizedException
- the userId is not authorized in the server
-