@MessageBundle(projectCode="JBERET")
@ValidIdRange(min=600,
max=999)
public interface BatchMessages
| Modifier and Type | Field and Description |
|---|---|
static BatchMessages |
MESSAGES |
| Modifier and Type | Method and Description |
|---|---|
javax.batch.operations.BatchRuntimeException |
cannotHaveBothNextAttributeAndElement(Location location,
String nextAttributeValue) |
javax.batch.operations.BatchRuntimeException |
checkpointAlgorithmMissing(String stepName) |
javax.batch.operations.BatchRuntimeException |
cycleInPropertyReference(List<String> referringExpressions) |
IllegalStateException |
failToCreateArtifact(Throwable e,
String ref) |
javax.batch.operations.BatchRuntimeException |
failToCreateTables(Throwable cause,
String databaseProductName,
String ddlFile) |
javax.batch.operations.BatchRuntimeException |
failToGetAttribute(String attributeName,
Location location) |
javax.batch.operations.JobStartException |
failToGetJobXml(Throwable e,
String jobName) |
javax.batch.operations.BatchRuntimeException |
failToInjectProperty(Throwable th,
String v,
Field f) |
javax.batch.operations.BatchRuntimeException |
failToLoadDDL(String ddlFile) |
javax.batch.operations.BatchRuntimeException |
failToLoadSqlProperties(Throwable cause,
String sqlFile) |
javax.batch.operations.BatchRuntimeException |
failToLookupDataSource(Throwable cause,
String dataSourceName) |
javax.batch.operations.BatchRuntimeException |
failToObtainConnection(Throwable cause,
Object connectionSource,
Object props) |
javax.batch.operations.JobStartException |
failToParseBatchXml(Throwable e,
String batchXML) |
javax.batch.operations.JobStartException |
failToParseJobXml(Throwable e,
String jobName) |
javax.batch.operations.BatchRuntimeException |
failToRunQuery(Throwable cause,
String sql) |
javax.batch.operations.BatchRuntimeException |
invalidCheckpointPolicy(String checkpointPolicy) |
javax.batch.operations.BatchRuntimeException |
invalidItemCount(int itemCount) |
javax.batch.operations.JobExecutionAlreadyCompleteException |
jobExecutionAlreadyCompleteException(long jobExecutionId) |
javax.batch.operations.BatchRuntimeException |
jobExecutionAlreadyExists(long jobExecutionId) |
javax.batch.operations.JobExecutionIsRunningException |
jobExecutionIsRunningException(long jobExecutionId) |
javax.batch.operations.JobExecutionNotMostRecentException |
jobExecutionNotMostRecentException(long jobExecutionId,
long jobInstanceId) |
javax.batch.operations.JobExecutionNotRunningException |
jobExecutionNotRunningException(long jobExecutionId,
javax.batch.runtime.BatchStatus batchStatus) |
javax.batch.operations.BatchRuntimeException |
jobInstanceAlreadyExists(long jobInstanceId) |
javax.batch.operations.JobRestartException |
jobRestartException(long jobExecutionId,
javax.batch.runtime.BatchStatus previousStatus) |
IllegalStateException |
loopbackStep(String stepId,
String executedSteps) |
javax.batch.operations.NoSuchJobException |
noSuchJobException(String jobName) |
javax.batch.operations.NoSuchJobExecutionException |
noSuchJobExecution(long executionId) |
javax.batch.operations.BatchRuntimeException |
stepReachedStartLimit(String stepName,
int startLimit,
int startCount) |
javax.batch.operations.BatchRuntimeException |
unexpectedXmlElement(String element,
Location location) |
IllegalStateException |
unrecognizableJobElement(String jobElementName,
String jobName) |
javax.batch.operations.BatchRuntimeException |
unrecognizedJobRepositoryType(String v) |
javax.batch.operations.BatchRuntimeException |
unsupportedFieldType(String v,
Field f,
Class<?> t) |
static final BatchMessages MESSAGES
@Message(id=600,
value="Failed to create artifact with ref name %s. Ensure CDI beans.xml is present and batch.xml, if any, is configured properly.")
IllegalStateException failToCreateArtifact(@Cause
Throwable e,
String ref)
@Message(id=601,
value="Failed to get job xml file for job %s")
javax.batch.operations.JobStartException failToGetJobXml(@Cause
Throwable e,
String jobName)
@Message(id=602,
value="Failed to parse and bind XML for job %s")
javax.batch.operations.JobStartException failToParseJobXml(@Cause
Throwable e,
String jobName)
@Message(id=603,
value="Failed to parse batch XML %s")
javax.batch.operations.JobStartException failToParseBatchXml(@Cause
Throwable e,
String batchXML)
@Message(id=604,
value="No job execution with id %s")
javax.batch.operations.NoSuchJobExecutionException noSuchJobExecution(long executionId)
@Message(id=605,
value="Unrecognizable job element: %s in job: %s")
IllegalStateException unrecognizableJobElement(String jobElementName,
String jobName)
@Message(id=606,
value="Cycle detected in property reference: %s")
javax.batch.operations.BatchRuntimeException cycleInPropertyReference(List<String> referringExpressions)
@Message(id=607,
value="The step %s would form a loopback in sequence: %s")
IllegalStateException loopbackStep(String stepId,
String executedSteps)
@Message(id=608,
value="Job execution %s is running and cannot be abandoned.")
javax.batch.operations.JobExecutionIsRunningException jobExecutionIsRunningException(long jobExecutionId)
@Message(id=609,
value="Job execution %s has already completed and cannot be restarted.")
javax.batch.operations.JobExecutionAlreadyCompleteException jobExecutionAlreadyCompleteException(long jobExecutionId)
@Message(id=610,
value="Failed to restart job execution %s, which had batch status %s.")
javax.batch.operations.JobRestartException jobRestartException(long jobExecutionId,
javax.batch.runtime.BatchStatus previousStatus)
@Message(id=611,
value="Job execution %s is not the most recent execution of job instance %s.")
javax.batch.operations.JobExecutionNotMostRecentException jobExecutionNotMostRecentException(long jobExecutionId,
long jobInstanceId)
@Message(id=612,
value="Job execution %s has batch status %s, and is not running.")
javax.batch.operations.JobExecutionNotRunningException jobExecutionNotRunningException(long jobExecutionId,
javax.batch.runtime.BatchStatus batchStatus)
@Message(id=613,
value="The step %s has started %s times and reached its start limit %s")
javax.batch.operations.BatchRuntimeException stepReachedStartLimit(String stepName,
int startLimit,
int startCount)
@Message(id=614,
value="Invalid chunk checkpoint-policy %s. It must be either item or custom.")
javax.batch.operations.BatchRuntimeException invalidCheckpointPolicy(String checkpointPolicy)
@Message(id=616,
value="Invalid chunk item-count %s. It must be greater than 0.")
javax.batch.operations.BatchRuntimeException invalidItemCount(int itemCount)
@Message(id=617,
value="checkpoint-algorithm element is missing in step %s. It is required for custom checkpoint-policy.")
javax.batch.operations.BatchRuntimeException checkpointAlgorithmMissing(String stepName)
@Message(id=618,
value="Failed to inject value %s into field %s, because the field type %s is not supported for property injection.")
javax.batch.operations.BatchRuntimeException unsupportedFieldType(String v,
Field f,
Class<?> t)
@Message(id=619,
value="Failed to inject value %s into field %s")
javax.batch.operations.BatchRuntimeException failToInjectProperty(@Cause
Throwable th,
String v,
Field f)
@Message(id=620,
value="Unrecognized job repository type %s")
javax.batch.operations.BatchRuntimeException unrecognizedJobRepositoryType(String v)
@Message(id=621,
value="Failed to look up datasource by jndi name %s.")
javax.batch.operations.BatchRuntimeException failToLookupDataSource(@Cause
Throwable cause,
String dataSourceName)
@Message(id=622,
value="Failed to obtain connection from %s, %s")
javax.batch.operations.BatchRuntimeException failToObtainConnection(@Cause
Throwable cause,
Object connectionSource,
Object props)
@Message(id=623,
value="Failed to load sql properties %s")
javax.batch.operations.BatchRuntimeException failToLoadSqlProperties(@Cause
Throwable cause,
String sqlFile)
@Message(id=624,
value="Failed to create tables for batch job repository database product name %s with DDL %s")
javax.batch.operations.BatchRuntimeException failToCreateTables(@Cause
Throwable cause,
String databaseProductName,
String ddlFile)
@Message(id=625,
value="Failed to load ddl file %s")
javax.batch.operations.BatchRuntimeException failToLoadDDL(String ddlFile)
@Message(id=626,
value="Failed to run %s")
javax.batch.operations.BatchRuntimeException failToRunQuery(@Cause
Throwable cause,
String sql)
@Message(id=627,
value="Unexpected XML element \'%s\' at location %s")
javax.batch.operations.BatchRuntimeException unexpectedXmlElement(String element,
Location location)
@Message(id=628,
value="Failed to get XML attribute \'%s\' at location %s")
javax.batch.operations.BatchRuntimeException failToGetAttribute(String attributeName,
Location location)
@Message(id=629,
value="Cannot have both next attribute and next element at location %s Next attribute is already set to %s")
javax.batch.operations.BatchRuntimeException cannotHaveBothNextAttributeAndElement(Location location,
String nextAttributeValue)
@Message(id=630,
value="The job instance: %s already exists in the job repository and cannot be added again.")
javax.batch.operations.BatchRuntimeException jobInstanceAlreadyExists(long jobInstanceId)
@Message(id=631,
value="The job execution: %s already exists in the job repository and cannot be added again.")
javax.batch.operations.BatchRuntimeException jobExecutionAlreadyExists(long jobExecutionId)
@Message(id=632,
value="The specified job with the name %s does not exist.")
javax.batch.operations.NoSuchJobException noSuchJobException(String jobName)
Copyright © 2016 JBoss by Red Hat. All rights reserved.