@MessageBundle(projectCode="JBAS")
@ValidIdRange(min=20560,
max=20599)
public interface WildFlyBatchMessages
Modifier and Type | Field and Description |
---|---|
static WildFlyBatchMessages |
MESSAGES |
Modifier and Type | Method and Description |
---|---|
IllegalStateException |
invalidBatchEnvironment()
Creates an exception indicating the batch environment has not been configured or has been removed.
|
IllegalArgumentException |
invalidJobRepositoryType(String type)
Creates an exception indicating the job repository type was invalid.
|
IllegalStateException |
serviceNotInstalled(String name)
Creates an exception indicating a service was not installed.
|
static final WildFlyBatchMessages MESSAGES
@Message(id=20560, value="%s service was not added on the deployment. Ensure the deployment has a META-INF/batch.xml file or the META-INF/batch-jobs directory contains batch configuration files.") IllegalStateException serviceNotInstalled(String name)
name
- a name for the serviceIllegalStateException
for the error@Message(id=20561, value="Invalid job repository type \'%s\'.") IllegalArgumentException invalidJobRepositoryType(String type)
type
- the invalid typeIllegalArgumentException
for the error@Message(id=20562, value="The batch environment was not configured or has been removed.") IllegalStateException invalidBatchEnvironment()
IllegalStateException
for the errorCopyright © 2014 JBoss by Red Hat. All rights reserved.