Package hudson.model
Class Descriptor.FormException
java.lang.Object
java.lang.Throwable
java.lang.Exception
hudson.model.Descriptor.FormException
- All Implemented Interfaces:
Serializable
,org.kohsuke.stapler.HttpResponse
- Enclosing class:
- Descriptor<T extends Describable<T>>
public static final class Descriptor.FormException
extends Exception
implements org.kohsuke.stapler.HttpResponse
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFormException
(String message, String formField) FormException
(String message, Throwable cause, String formField) FormException
(Throwable cause, String formField) -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateResponse
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) Which form field contained an error?Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FormException
-
FormException
-
FormException
-
-
Method Details
-
getFormField
Which form field contained an error? -
generateResponse
public void generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) throws IOException, javax.servlet.ServletException - Specified by:
generateResponse
in interfaceorg.kohsuke.stapler.HttpResponse
- Throws:
IOException
javax.servlet.ServletException
-