Module io.inverno.mod.discovery
Package io.inverno.mod.discovery
Class MalformedServiceDescriptorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.discovery.ServiceDiscoveryException
io.inverno.mod.discovery.MalformedServiceDescriptorException
- All Implemented Interfaces:
Serializable
Thrown to indicate a malformed service descriptor configuration when resolving a service from configuration.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a malformed service descriptor exception to report a null service ID.MalformedServiceDescriptorException
(ServiceID serviceId) Creates a malformed service descriptor exception with the specified service ID.MalformedServiceDescriptorException
(ServiceID serviceId, String message) Creates a malformed service descriptor exception with the specified service ID and message.MalformedServiceDescriptorException
(ServiceID serviceId, String message, Throwable cause) Creates a malformed service descriptor exception with the specified service ID, message and cause.MalformedServiceDescriptorException
(ServiceID serviceId, Throwable cause) Creates a malformed service descriptor exception with the specified service ID and cause. -
Method Summary
Methods inherited from class io.inverno.mod.discovery.ServiceDiscoveryException
getServiceId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MalformedServiceDescriptorException
public MalformedServiceDescriptorException()Creates a malformed service descriptor exception to report a null service ID.
-
MalformedServiceDescriptorException
Creates a malformed service descriptor exception with the specified service ID.
- Parameters:
serviceId
- The service ID
-
MalformedServiceDescriptorException
Creates a malformed service descriptor exception with the specified service ID and message.
- Parameters:
serviceId
- the service IDmessage
- a message
-
MalformedServiceDescriptorException
Creates a malformed service descriptor exception with the specified service ID and cause.
- Parameters:
serviceId
- the service IDcause
- the cause
-
MalformedServiceDescriptorException
Creates a malformed service descriptor exception with the specified service ID, message and cause.
- Parameters:
serviceId
- the service IDmessage
- a messagecause
- the cause
-