Class FormDataParamException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.ws.rs.WebApplicationException
-
- org.glassfish.jersey.server.ParamException
-
- org.glassfish.jersey.media.multipart.FormDataParamException
-
- All Implemented Interfaces:
Serializable
public final class FormDataParamException extends ParamException
A parameter-based exception for errors withFormDataParam.- Author:
- Pavel Bucek
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.glassfish.jersey.server.ParamException
ParamException.CookieParamException, ParamException.FormParamException, ParamException.HeaderParamException, ParamException.MatrixParamException, ParamException.PathParamException, ParamException.QueryParamException, ParamException.UriParamException
-
-
Constructor Summary
Constructors Constructor Description FormDataParamException(Throwable cause, String name, String defaultStringValue)Create newFormDataParamexception.
-
Method Summary
-
Methods inherited from class org.glassfish.jersey.server.ParamException
getDefaultStringValue, getParameterName, getParameterType
-
Methods inherited from class jakarta.ws.rs.WebApplicationException
getResponse
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FormDataParamException
public FormDataParamException(Throwable cause, String name, String defaultStringValue)
Create newFormDataParamexception.- Parameters:
cause- real cause.name- parameter name.defaultStringValue- default value.
-
-