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 Details

  • Method Details

    • getFormField

      public String 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:
      generateResponse in interface org.kohsuke.stapler.HttpResponse
      Throws:
      IOException
      jakarta.servlet.ServletException