java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.jooby.exception.StatusCodeException
io.jooby.exception.BadRequestException
io.jooby.exception.ProvisioningException
- All Implemented Interfaces:
Serializable
Provisioning exception, throws by MVC routes when parameter binding fails.
- Since:
- 2.0.0
- Author:
- edgar
- See Also:
-
Constructor Summary
ConstructorDescriptionProvisioningException
(Parameter parameter, Throwable cause) Creates a provisioning exception.ProvisioningException
(String message, Throwable cause) Creates a provisioning exception. -
Method Summary
Methods inherited from class io.jooby.exception.StatusCodeException
getStatusCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProvisioningException
Creates a provisioning exception.- Parameters:
parameter
- Failing parameter.cause
- Cause. Nullable.
-
ProvisioningException
Creates a provisioning exception.- Parameters:
message
- Error message.cause
- Cause.
-
-
Method Details
-
toString
Creates a parameter description.- Parameters:
parameter
- Parameter.- Returns:
- Description.
-
toString
Creates a method description.- Parameters:
method
- Parameter.- Returns:
- Description.
-