# Uses of Package
javax.batch.operations

Packages that use javax.batch.operations
Package | Description
--- | ---
javax.batch.operations | Provides APIs for starting, managing, and viewing results of Batch job executions, along with a set of exceptions.
javax.batch.runtime | Provides APIs for viewing the detailed outcomes and metrics of Batch job executions.

Classes in javax.batch.operations used by javax.batch.operations
Class and Description
BatchRuntimeException This is the common base class for all of the RuntimeException(s) thrown by the `JobOperator` API methods to its callers.
JobExecutionAlreadyCompleteException JobExecutionAlreadyCompleteException is thrown when restart is called for an already-completed job instance.
JobExecutionIsRunningException JobExecutionIsRunningException is thrown when `JobOperator.abandon(long)` is called on a job execution which is currently running (i.e.
JobExecutionNotMostRecentException JobExecutionNotMostRecentException is thrown when `JobOperator.restart(long, java.util.Properties)` is called on a job instance which has already completed (i.e.
JobExecutionNotRunningException JobExecutionNotRunningException is thrown when `JobOperator.stop(long)` is called on a job instance which is not currently running.
JobRestartException JobRestartException is thrown when an error occurs during the JobOperator restart operation.
JobSecurityException SecurityException is thrown when an user is not authorized to run a JobOperator method, such as restart, stop, abandon, any getters, etc.
JobStartException JobStartException is thrown when an error occurs during the JobOperator start operation.
NoSuchJobException Used in JobOperator methods when referencing a job name value which does not correspond to a job recognized by the implementation's repository.
NoSuchJobExecutionException Used in JobOperator methods when referencing a job execution value which does not correspond to a job execution recognized by the implementation's repository.
NoSuchJobInstanceException Used in JobOperator methods when referencing a job instance value which does not correspond to a job instance recognized by the implementation's repository.

Classes in javax.batch.operations used by javax.batch.runtime
Class and Description
JobOperator JobOperator provide the interface for operating on batch jobs.

© Copyright IBM Corp. 2014
Licensed under the Apache License, Version 2.0