Class OMAGServerErrorHandler
java.lang.Object
org.odpi.openmetadata.adminservices.server.OMAGServerErrorHandler
OMAGServerErrorHandler provides common error handling routines for the admin services
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateOMAGServerName(String omagServerName, String serverName, String serverService) Validate that the server name of the server where an access service resides is not null.voidvalidateServiceURLMarker(String serviceURLMarker, String serverName, String serverService) Validate that the server name of the server where an access service resides is not null.
-
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 requestserverName- server name for this serverserverService- 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 requestserverName- server name for this serverserverService- name of the service being configured- Throws:
org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException- the name is null
-