public class ProvisioningException extends RuntimeException
Constructor and Description |
---|
ProvisioningException(Class<?> service)
Constructs a new
ProvisioningException for the specified service. |
ProvisioningException(String message,
Class<?> service)
Constructs a new
ProvisioningException for the specified service with
the specified message. |
ProvisioningException(String message,
Throwable cause,
Class<?> service)
Constructs a new
ProvisioningException for the specified service with
the specified service and cause. |
ProvisioningException(Throwable cause,
Class<?> service)
Constructs a new
ProvisioningException for the specified service with
the specified cause and a null message. |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getService()
Gets the service that was requested.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ProvisioningException(Class<?> service)
ProvisioningException
for the specified service.service
- The service requestedpublic ProvisioningException(String message, Class<?> service)
ProvisioningException
for the specified service with
the specified message.message
- The exception messageservice
- The service requestedpublic ProvisioningException(String message, Throwable cause, Class<?> service)
ProvisioningException
for the specified service with
the specified service and cause.message
- The exception messagecause
- The cause of this exceptionservice
- The service requestedpublic ProvisioningException(Throwable cause, Class<?> service)
ProvisioningException
for the specified service with
the specified cause and a null message.cause
- The cause of this exceptionservice
- The service requestedpublic Class<?> getService()