@MessageBundle(projectCode="SWITCHYARD")
public interface APIMessages
Modifier and Type | Field and Description |
---|---|
static APIMessages |
MESSAGES
The default messages.
|
Modifier and Type | Method and Description |
---|---|
Exception |
invalidPolicyName(String name)
invalidPolicyName method definition.
|
IllegalArgumentException |
nullTypeNamePassed()
nullTypeNamePassed method definition.
|
RuntimeException |
serviceOpNeedOneParamater()
serviceOpNeedOneParamater method definition.
|
SwitchYardException |
serviceOpOnlyOneParameter()
serviceOpOnlyOneParameter method definition.
|
String |
transformerFailed(String clazz,
String fromType,
String from,
String toType,
String to,
SwitchYardException e)
transformerFailed method definition.
|
IllegalArgumentException |
unableUpdateMetadataType(String klass)
unableUpdateMetadataType method definition.
|
IllegalStateException |
unexpectedInterrupt()
unexpectedInterrupt method definition.
|
IllegalArgumentException |
unrecognizedURI(String uri)
unrecognizedURI method definition.
|
static final APIMessages MESSAGES
@Message(id=10003, value="Unexpected Interrupt exception.") IllegalStateException unexpectedInterrupt()
@Message(id=10004, value="Service operations on a Java interface must have exactly one parameter.") RuntimeException serviceOpNeedOneParamater()
@Message(id=10005, value="Service operations on a Java interface can only throw one type of exception.") SwitchYardException serviceOpOnlyOneParameter()
@Message(id=10006, value="Invalid policy name: %s doesn\'t exist.") Exception invalidPolicyName(String name)
name
- name@Message(id=10009, value="null \'typeName\' arg passed.") IllegalArgumentException nullTypeNamePassed()
@Message(id=10010, value="Unrecognized URI: %s") IllegalArgumentException unrecognizedURI(String uri)
uri
- uri@Message(id=10011, value="Unable to update metadata type %s") IllegalArgumentException unableUpdateMetadataType(String klass)
klass
- klass@Message(id=10012, value="Transformer:[class=\'%s\', fromType=\'%s\', from=\'%s\', toType=\'%s\', to=\'%s\'] failed") String transformerFailed(String clazz, String fromType, String from, String toType, String to, @Cause SwitchYardException e)
clazz
- transformer classfromType
- from typefrom
- fromtoType
- to typeto
- toe
- causeCopyright © 2013–2020 JBoss by Red Hat. All rights reserved.