Class OMAGServerErrorHandler


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

      • OMAGServerErrorHandler

        public OMAGServerErrorHandler()
        Default constructor
    • Method Detail

      • validateOMAGServerName

        public void validateOMAGServerName​(String omagServerName,
                                           String serverName,
                                           String serverService)
                                    throws 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:
        OMAGInvalidParameterException - the name is null
      • validateServiceURLMarker

        public void validateServiceURLMarker​(String serviceURLMarker,
                                             String serverName,
                                             String serverService)
                                      throws 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:
        OMAGInvalidParameterException - the name is null