java.lang.Object
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.accumulators.ExceptionAccumulatorBase
Direct Known Subclasses:
MaintenanceAccumulator, QueryAccumulatorBase

public class ExceptionAccumulatorBase extends Object
ExceptionAccumulatorBase collections exception responses from multiple queries.
  • Method Details

    • throwCapturedClassificationErrorException

      public void throwCapturedClassificationErrorException() throws ClassificationErrorException
      Throw a ClassificationErrorException if it was returned by one of the calls to a cohort connector.
      Throws:
      ClassificationErrorException - the classification is not known
    • throwCapturedEntityNotDeletedException

      public void throwCapturedEntityNotDeletedException() throws EntityNotDeletedException
      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

      public void throwCapturedEntityNotKnownException() throws EntityNotKnownException
      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

      public void throwCapturedEntityProxyOnlyException() throws EntityProxyOnlyException
      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

      public void throwCapturedFunctionNotSupportedException() throws FunctionNotSupportedException
      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

      public void throwCapturedInvalidParameterException() throws InvalidParameterException
      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

      public void throwCapturedInvalidTypeDefException() throws InvalidTypeDefException
      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

      public void throwCapturedPropertyErrorException() throws PropertyErrorException
      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

      public void throwCapturedPagingErrorException() throws PagingErrorException
      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

      public void throwCapturedRelationshipNotDeletedException() throws RelationshipNotDeletedException
      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

      public void throwCapturedRelationshipNotKnownException() throws RelationshipNotKnownException
      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

      public void throwCapturedRepositoryErrorException() throws RepositoryErrorException
      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

      public void throwCapturedStatusNotSupportedException() throws StatusNotSupportedException
      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

      public void throwCapturedGenericException(String methodName) throws RepositoryErrorException
      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

      public void throwCapturedTypeDefConflictException() throws TypeDefConflictException
      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

      public void throwCapturedTypeDefNotSupportedException() throws TypeDefNotSupportedException
      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

      public void throwCapturedTypeDefNotKnownException() throws TypeDefNotKnownException
      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

      public void throwCapturedTypeErrorException() throws TypeErrorException
      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

      public void throwCapturedUserNotAuthorizedException() throws UserNotAuthorizedException
      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