public abstract class BootFailure extends ErrorObject
ErrorObject
WebAppMain.recordBootAttempt(File)
,
Serialized FormModifier | Constructor and Description |
---|---|
protected |
BootFailure() |
protected |
BootFailure(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static File |
getBootFailureFile(File home)
This file captures failed boot attempts.
|
protected List<Date> |
loadAttempts(File home)
Parses the boot attempt file carefully so as not to cause the entire hook script to fail to execute.
|
void |
publish(javax.servlet.ServletContext context,
File home)
Exposes this failure to UI and invoke the hook.
|
doDynamic, getStackTraceString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected BootFailure()
protected BootFailure(Throwable cause)
public void publish(javax.servlet.ServletContext context, @CheckForNull File home)
home
- JENKINS_HOME if it's already known.protected List<Date> loadAttempts(File home)
Copyright © 2004–2022. All rights reserved.