Top Description Fields Constructors Methods
org.glassfish.hk2.runlevel

public Class CurrentlyRunningException

extends RuntimeException
Class Inheritance

This exception is thrown by proceedTo if there is currently a job being run when proceedTo is called
Author
jwells

Field Summary

Modifier and TypeField and Description
private transient RunLevelFuture
private static final long

Constructor Summary

AccessConstructor and Description
public
CurrentlyRunningException()

Basic no-arg constructor

public
CurrentlyRunningException(RunLevelFuture
The job currently in progress
runLevelFuture
)

Constructor with job that is in progress

Method Summary

Modifier and TypeMethod and Description
public RunLevelFuture

Returns:

The job currently in progress
getCurrentJob
()

Gets the job current in progress

Field Detail

currentJobback to summary
private transient RunLevelFuture currentJob
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

For serialization

Constructor Detail

CurrentlyRunningExceptionback to summary
public CurrentlyRunningException()

Basic no-arg constructor

CurrentlyRunningExceptionback to summary
public CurrentlyRunningException(RunLevelFuture runLevelFuture)

Constructor with job that is in progress

Parameters
runLevelFuture:RunLevelFuture

The job currently in progress

Method Detail

getCurrentJobback to summary
public RunLevelFuture getCurrentJob()

Gets the job current in progress

Returns:RunLevelFuture

The job currently in progress