Class OMAGServerErrorHandler
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.OMAGServerErrorHandler
-
public class OMAGServerErrorHandler extends Object
OMAGServerErrorHandler provides common error handling routines for the admin services
-
-
Constructor Summary
Constructors Constructor Description OMAGServerErrorHandler()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidateOMAGServerName(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.
-
-
-
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 requestserverName- server name for this serverserverService- 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 requestserverName- server name for this serverserverService- name of the service being configured- Throws:
OMAGInvalidParameterException- the name is null
-
-