Class CurrentlyRunningException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CurrentlyRunningException
    extends java.lang.RuntimeException
    This exception is thrown by proceedTo if there is currently a job being run when proceedTo is called
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RunLevelFuture getCurrentJob()
      Gets the job current in progress
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CurrentlyRunningException

        public CurrentlyRunningException()
        Basic no-arg constructor
      • CurrentlyRunningException

        public CurrentlyRunningException​(RunLevelFuture runLevelFuture)
        Constructor with job that is in progress
        Parameters:
        runLevelFuture - The job currently in progress
    • Method Detail

      • getCurrentJob

        public RunLevelFuture getCurrentJob()
        Gets the job current in progress
        Returns:
        The job currently in progress