Package org.glassfish.hk2.runlevel
Class CurrentlyRunningException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.glassfish.hk2.runlevel.CurrentlyRunningException
- All Implemented Interfaces:
Serializable
This exception is thrown by proceedTo if there is currently a
job being run when proceedTo is called
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RunLevelFuture
private static final long
For serialization -
Constructor Summary
ConstructorsConstructorDescriptionBasic no-arg constructorCurrentlyRunningException
(RunLevelFuture runLevelFuture) Constructor with job that is in progress -
Method Summary
Modifier and TypeMethodDescriptionGets the job current in progressMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization- See Also:
-
currentJob
-
-
Constructor Details
-
CurrentlyRunningException
public CurrentlyRunningException()Basic no-arg constructor -
CurrentlyRunningException
Constructor with job that is in progress- Parameters:
runLevelFuture
- The job currently in progress
-
-
Method Details
-
getCurrentJob
Gets the job current in progress- Returns:
- The job currently in progress
-