Interface ExceptionMessageSet

All Known Implementing Classes:
AnalyticsIntegratorErrorCode, ApacheAtlasErrorCode, ApacheKafkaErrorCode, APIIntegratorErrorCode, AssetCatalogErrorCode, AssetCatalogErrorCode, AssetConsumerErrorCode, AssetLineageErrorCode, AssetManagerErrorCode, AssetOwnerErrorCode, AtlasIntegrationErrorCode, AtlasSurveyErrorCode, BasicFileConnectorErrorCode, BasicFilesIntegrationConnectorsErrorCode, CatalogIntegratorErrorCode, CommunityProfileErrorCode, ConformanceSuiteErrorCode, ConnectorConfigurationFactoryErrorCode, CSVFileConnectorErrorCode, CSVLineageImporterErrorCode, DatabaseIntegratorErrorCode, DataEngineErrorCode, DataEngineProxyErrorCode, DataFolderConnectorErrorCode, DataManagerErrorCode, DataPrivacyErrorCode, DataScienceErrorCode, DesignModelErrorCode, DevOpsErrorCode, DigitalArchitectureErrorCode, DigitalServiceErrorCode, DinoViewErrorCode, DirectoryBasedOpenMetadataArchiveStoreConnectorErrorCode, DisplayIntegratorErrorCode, DistributeKafkaErrorCode, DocStoreErrorCode, DocStoreErrorCode, DynamicArchiverConnectorsErrorCode, EgeriaInfrastructureConnectorErrorCode, ElasticsearchIntegratorErrorCode, EngineHostServicesErrorCode, FileBasedOpenMetadataArchiveStoreConnectorErrorCode, FilesIntegratorErrorCode, GAFErrorCode, GenericHandlersErrorCode, GlossaryAuthorErrorCode, GovernanceActionConnectorsErrorCode, GovernanceActionErrorCode, GovernanceEngineErrorCode, GovernanceProgramErrorCode, GovernanceServerErrorCode, GraphOMRSErrorCode, InfrastructureIntegratorErrorCode, IntegrationDaemonServicesErrorCode, ITInfrastructureErrorCode, JDBCErrorCode, JDBCIntegrationConnectorErrorCode, KafkaIntegrationConnectorErrorCode, KafkaIntegrationConnectorErrorCode, KafkaOpenMetadataTopicConnectorErrorCode, KafkaSurveyErrorCode, LineageIntegratorErrorCode, OCFErrorCode, ODFErrorCode, OIFErrorCode, OMAGAdminErrorCode, OMAGCommonErrorCode, OMAGOCFErrorCode, OMAGServerInstanceErrorCode, OMRSErrorCode, OpenAPIIntegrationConnectorErrorCode, OpenIntegrationErrorCode, OpenLineageIntegrationConnectorErrorCode, OpenMetadataSecurityErrorCode, OpenMetadataStoreErrorCode, OrganizationIntegratorErrorCode, PostgresErrorCode, ProjectManagementErrorCode, RepositoryGovernanceErrorCode, RepositoryHandlerErrorCode, RESTClientConnectorErrorCode, RexErrorCode, RexViewErrorCode, SAFErrorCode, SearchIntegratorErrorCode, SecurityIntegratorErrorCode, SecurityManagerErrorCode, SecurityOfficerErrorCode, ServerAuthorViewErrorCode, ServerOpsErrorCode, SoftwareDeveloperErrorCode, StewardshipActionErrorCode, SubjectAreaErrorCode, SurveyActionErrorCode, TexViewErrorCode, TokenControllerErrorCode, TopicIntegratorErrorCode, XTDBErrorCode

public interface ExceptionMessageSet
ExceptionMessageSet is the interface implemented by an enum that contains the collection of message definitions for a component's exceptions.
  • Method Details

    • getMessageDefinition

      ExceptionMessageDefinition getMessageDefinition()
      Retrieve a message definition object for an exception. This method is used when there are no message inserts.
      Returns:
      message definition object.
    • getMessageDefinition

      ExceptionMessageDefinition getMessageDefinition(String... params)
      Retrieve a message definition object for an exception. This method is used when there are values to be inserted into the message.
      Parameters:
      params - array of parameters (all strings). They are inserted into the message according to the numbering in the message text.
      Returns:
      message definition object.