Package io.quarkus.runtime
Class PreventFurtherStepsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.quarkus.runtime.PreventFurtherStepsException
- All Implemented Interfaces:
Serializable
When this exception is thrown from a runtime init recorder method, then no other recorder steps
will be executed and the application will be terminated.
This is likely of very limited use, but it does allow us to boot the application up to a certain point
for example in AppCDS generation.
It can also be used for sidecar type scenarios where the sidecar is the same application but only performs
a small part of the bootstrap steps.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPreventFurtherStepsException(int exitCode) PreventFurtherStepsException(String message, int exitCode) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PreventFurtherStepsException
public PreventFurtherStepsException() -
PreventFurtherStepsException
public PreventFurtherStepsException(int exitCode) -
PreventFurtherStepsException
-
-
Method Details
-
getExitCode
public int getExitCode()
-