Class CurrentlyRunningException

  • All Implemented Interfaces:
    Serializable

    public class CurrentlyRunningException
    extends RuntimeException
    This exception is thrown by proceedTo if there is currently a job being run when proceedTo is called
    Author:
    jwells
    See Also:
    Serialized Form
    • 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