Class DiscoveryServiceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DiscoveryServiceException
    extends ConnectorCheckedException
    DiscoveryServiceException indicates there has been a problem running a discovery service. The error codes and messages indicate the cause of the problem and guidance on finding a remedy.
    See Also:
    Serialized Form
    • Constructor Detail

      • DiscoveryServiceException

        public DiscoveryServiceException​(ExceptionMessageDefinition messageDefinition,
                                         java.lang.String className,
                                         java.lang.String actionDescription)
        This is the typical constructor used for creating a DiscoveryServiceException.
        Parameters:
        messageDefinition - content of message
        className - name of class reporting error
        actionDescription - description of function it was performing when error detected
      • DiscoveryServiceException

        public DiscoveryServiceException​(ExceptionMessageDefinition messageDefinition,
                                         java.lang.String className,
                                         java.lang.String actionDescription,
                                         java.lang.Throwable caughtError)
        This is the constructor used for creating a DiscoveryServiceException in response to a previous exception.
        Parameters:
        messageDefinition - content of message
        className - name of class reporting error
        actionDescription - description of function it was performing when error detected
        caughtError - the error that resulted in this exception.
      • DiscoveryServiceException

        public DiscoveryServiceException​(java.lang.String errorMessage,
                                         ConnectorCheckedException template)
        This is the copy/clone constructor used for creating an exception.
        Parameters:
        errorMessage - associated message
        template - object to copy