Package hudson.util
Class ErrorObject
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- hudson.util.ErrorObject
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BootFailure
public abstract class ErrorObject extends Exception
Basis for error model objects. This implementation serves error pages for any requests under its domain. Subclasses are responsible for providingindex
view.- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ErrorObject()
protected
ErrorObject(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
String
getStackTraceString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ErrorObject
protected ErrorObject()
-
ErrorObject
protected ErrorObject(Throwable cause)
-
-
Method Detail
-
getStackTraceString
public String getStackTraceString()
-
doDynamic
public void doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException, InterruptedException
- Throws:
IOException
javax.servlet.ServletException
InterruptedException
-
-