Class PreventFurtherStepsException

  • All Implemented Interfaces:
    Serializable

    public final class PreventFurtherStepsException
    extends RuntimeException
    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:
    Serialized Form
    • Constructor Detail

      • PreventFurtherStepsException

        public PreventFurtherStepsException()
      • PreventFurtherStepsException

        public PreventFurtherStepsException​(int exitCode)
      • PreventFurtherStepsException

        public PreventFurtherStepsException​(String message,
                                            int exitCode)
    • Method Detail

      • getExitCode

        public int getExitCode()