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 TypeMethodDescriptionvoidgenerateResponse(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kohsuke.stapler.HttpResponse
generateResponse
-
Constructor Details
-
FormException
-
FormException
-
FormException
-
-
Method Details
-
getFormField
Which form field contained an error? -
generateResponse
public void generateResponse(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node) throws IOException, jakarta.servlet.ServletException - Specified by:
generateResponsein interfaceorg.kohsuke.stapler.HttpResponse- Throws:
IOExceptionjakarta.servlet.ServletException
-