Class MalformedServiceDescriptorException

All Implemented Interfaces:
Serializable

public class MalformedServiceDescriptorException extends ServiceDiscoveryException

Thrown to indicate a malformed service descriptor configuration when resolving a service from configuration.

Since:
1.12
Author:
Jeremy Kuhn
See Also:
  • Constructor Details

    • MalformedServiceDescriptorException

      public MalformedServiceDescriptorException()

      Creates a malformed service descriptor exception to report a null service ID.

    • MalformedServiceDescriptorException

      public MalformedServiceDescriptorException(ServiceID serviceId)

      Creates a malformed service descriptor exception with the specified service ID.

      Parameters:
      serviceId - The service ID
    • MalformedServiceDescriptorException

      public MalformedServiceDescriptorException(ServiceID serviceId, String message)

      Creates a malformed service descriptor exception with the specified service ID and message.

      Parameters:
      serviceId - the service ID
      message - a message
    • MalformedServiceDescriptorException

      public MalformedServiceDescriptorException(ServiceID serviceId, Throwable cause)

      Creates a malformed service descriptor exception with the specified service ID and cause.

      Parameters:
      serviceId - the service ID
      cause - the cause
    • MalformedServiceDescriptorException

      public MalformedServiceDescriptorException(ServiceID serviceId, String message, Throwable cause)

      Creates a malformed service descriptor exception with the specified service ID, message and cause.

      Parameters:
      serviceId - the service ID
      message - a message
      cause - the cause