Class OMAGServerErrorHandler


  • public class OMAGServerErrorHandler
    extends java.lang.Object
    OMAGServerErrorHandler provides common error handling routines for the admin services
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void validateOMAGServerName​(java.lang.String omagServerName, java.lang.String serverName, java.lang.String serverService)
      Validate that the server name of the server where an access service resides is not null.
      void validateServiceURLMarker​(java.lang.String serviceURLMarker, java.lang.String serverName, java.lang.String serverService)
      Validate that the server name of the server where an access service resides is not null.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OMAGServerErrorHandler

        public OMAGServerErrorHandler()
        Default constructor
    • Method Detail

      • validateOMAGServerName

        public void validateOMAGServerName​(java.lang.String omagServerName,
                                           java.lang.String serverName,
                                           java.lang.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​(java.lang.String serviceURLMarker,
                                             java.lang.String serverName,
                                             java.lang.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