Class KnownRecoverableError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jetbrains.buildServer.maintenance.exceptions.ServerStartupError
-
- jetbrains.buildServer.maintenance.exceptions.KnownRecoverableError
-
- All Implemented Interfaces:
Serializable
,KnownStartupError
- Direct Known Subclasses:
DataDirectoryException
,KnownRecoverableDatabaseSettingsError
public abstract class KnownRecoverableError extends ServerStartupError implements KnownStartupError
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KnownRecoverableError(String message)
protected
KnownRecoverableError(String message, Throwable cause)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract boolean
recover(StartupContext startupContext)
Tries to recover.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
recover
public abstract boolean recover(StartupContext startupContext)
Tries to recover. Returns true if recovered, false otherwise.
-
-