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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormException(String message, String formField)
FormException(String message, Throwable cause, String formField)
FormException(Throwable cause, String formField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node)
String
getFormField()
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
-
-
-
-
Method Detail
-
getFormField
public String 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
-
-