Class OMAGServerErrorHandler

java.lang.Object
org.odpi.openmetadata.adminservices.server.OMAGServerErrorHandler

public class OMAGServerErrorHandler extends Object
OMAGServerErrorHandler provides common error handling routines for the admin services
  • Constructor Details

    • OMAGServerErrorHandler

      public OMAGServerErrorHandler()
      Default constructor
  • Method Details

    • validateOMAGServerName

      public void validateOMAGServerName(String omagServerName, String serverName, String serverService) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException
      Validate that the server name of the server where an access service resides is not null.
      Parameters:
      omagServerName - remote server name passed on the request
      serverName - server name for this server
      serverService - name of the service being configured
      Throws:
      org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException - the name is null
    • validateServiceURLMarker

      public void validateServiceURLMarker(String serviceURLMarker, String serverName, String serverService) throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException
      Validate that the server name of the server where an access service resides is not null.
      Parameters:
      serviceURLMarker - remote server name passed on the request
      serverName - server name for this server
      serverService - name of the service being configured
      Throws:
      org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException - the name is null