Interface ConfigMessages
- All Known Implementing Classes:
ConfigMessages_$bundle
@MessageBundle(projectCode="CONF",
length=4)
public interface ConfigMessages
- Author:
- David M. Lloyd
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncidrAddressParseException(QName attributeName, String address, XMLLocation location) expectedEventType(String expectedEventTypeName, String eventTypeName, XMLLocation location) expectedLocalName(String expectedLocalName, String actualLocalName, XMLLocation location) expectedNamespace(String expectedNamespaceURI, String actualNamespaceURI, XMLLocation location) expectedStartElement(String eventTypeName, XMLLocation location) expectedStartOrEndElement(String eventTypeName, XMLLocation location) expressionParseException(IllegalArgumentException ex, QName attributeName, XMLLocation location) expressionTextParseException(IllegalArgumentException ex, XMLLocation location) failedToCloseInput(XMLLocation location, IOException cause) failedToReadInput(XMLLocation location, IOException cause) inetAddressParseException(QName attributeName, String address, XMLLocation location) intParseException(NumberFormatException e, QName attributeName, XMLLocation location) invalidUrl(XMLLocation location, MalformedURLException e) missingRequiredAttribute(String namespaceUri, String localName, XMLLocation location) missingRequiredElement(String namespaceUri, String localName, XMLLocation location) numericAttributeValueOutOfRange(QName attributeName, String actualValue, long minValue, long maxValue, XMLLocation location) textCannotContainElements(XMLLocation location) unexpectedAttribute(QName name, XMLLocation location) unexpectedContent(String eventType, XMLLocation location) unexpectedDocumentEnd(XMLLocation location) unexpectedElement(String localName, String namespaceUri, XMLLocation location) unexpectedElement(String localName, XMLLocation location) uriParseException(URISyntaxException e, QName attributeName, XMLLocation location)
-
Field Details
-
msg
-
-
Method Details
-
parseError
-
closeNotSupported
@Message(id=2, value="Calling close() on XMLConfigurationReader is not supported") UnsupportedOperationException closeNotSupported() -
unexpectedDocumentEnd
@Message(id=3, value="Unexpected end of document") ConfigXMLParseException unexpectedDocumentEnd(@Param(javax.xml.stream.Location.class) XMLLocation location) -
unexpectedContent
@Message(id=4, value="Unexpected content of type \"%s\"") ConfigXMLParseException unexpectedContent(String eventType, @Param(javax.xml.stream.Location.class) XMLLocation location) -
unexpectedElement
@Message(id=5, value="Unexpected element \"%s\" in namespace \"%s\" encountered") ConfigXMLParseException unexpectedElement(String localName, String namespaceUri, @Param(javax.xml.stream.Location.class) XMLLocation location) -
unexpectedElement
@Message(id=5, value="Unexpected element \"%s\" (no namespace) encountered") ConfigXMLParseException unexpectedElement(String localName, @Param(javax.xml.stream.Location.class) XMLLocation location) -
expectedStartOrEndElement
@Message(id=6, value="Expected start or end element, found \"%s\"") ConfigXMLParseException expectedStartOrEndElement(String eventTypeName, @Param(javax.xml.stream.Location.class) XMLLocation location) -
expectedStartElement
@Message(id=7, value="Expected start element, found \"%s\"") ConfigXMLParseException expectedStartElement(String eventTypeName, @Param(javax.xml.stream.Location.class) XMLLocation location) -
textCannotContainElements
@Message(id=8, value="Text content cannot contain elements") ConfigXMLParseException textCannotContainElements(@Param(javax.xml.stream.Location.class) XMLLocation location) -
expectedEventType
@Message(id=9, value="Expected event type \"%s\", found \"%s\"") ConfigXMLParseException expectedEventType(String expectedEventTypeName, String eventTypeName, @Param(javax.xml.stream.Location.class) XMLLocation location) -
expectedNamespace
@Message(id=10, value="Expected namespace URI \"%s\", found \"%s\"") ConfigXMLParseException expectedNamespace(String expectedNamespaceURI, String actualNamespaceURI, @Param(javax.xml.stream.Location.class) XMLLocation location) -
expectedLocalName
@Message(id=11, value="Expected local name \"%s\", found \"%s\"") ConfigXMLParseException expectedLocalName(String expectedLocalName, String actualLocalName, @Param(javax.xml.stream.Location.class) XMLLocation location) -
failedToReadInput
@Message(id=12, value="Failed to read from input source") ConfigXMLParseException failedToReadInput(@Param(javax.xml.stream.Location.class) XMLLocation location, @Cause IOException cause) -
failedToCloseInput
@Message(id=13, value="Failed to close input source") ConfigXMLParseException failedToCloseInput(@Param(javax.xml.stream.Location.class) XMLLocation location, @Cause IOException cause) -
invalidUrl
@Message(id=14, value="Invalid configuration file URL") ConfigXMLParseException invalidUrl(@Param(javax.xml.stream.Location.class) XMLLocation location, @Cause MalformedURLException e) -
unexpectedAttribute
@Message(id=15, value="Unexpected attribute \"%s\" encountered") ConfigXMLParseException unexpectedAttribute(QName name, @Param(javax.xml.stream.Location.class) XMLLocation location) -
missingRequiredElement
@Message(id=16, value="Missing required element \"%2$s\" from namespace \"%s\"") ConfigXMLParseException missingRequiredElement(String namespaceUri, String localName, @Param(javax.xml.stream.Location.class) XMLLocation location) -
missingRequiredAttribute
@Message(id=17, value="Missing required attribute \"%2$s\" from namespace \"%s\"") ConfigXMLParseException missingRequiredAttribute(String namespaceUri, String localName, @Param(javax.xml.stream.Location.class) XMLLocation location) -
intParseException
@Message(id=18, value="Failed to parse integer value of attribute \"%s\"") ConfigXMLParseException intParseException(@Cause NumberFormatException e, QName attributeName, @Param(javax.xml.stream.Location.class) XMLLocation location) -
uriParseException
@Message(id=19, value="Failed to parse URI value of attribute \"%s\"") ConfigXMLParseException uriParseException(@Cause URISyntaxException e, QName attributeName, @Param(javax.xml.stream.Location.class) XMLLocation location) -
expressionParseException
@Message(id=20, value="Failed to parse expression value of attribute \"%s\"") ConfigXMLParseException expressionParseException(@Cause IllegalArgumentException ex, QName attributeName, @Param(javax.xml.stream.Location.class) XMLLocation location) -
expressionTextParseException
@Message(id=21, value="Failed to parse expression text") ConfigXMLParseException expressionTextParseException(@Cause IllegalArgumentException ex, @Param(javax.xml.stream.Location.class) XMLLocation location) -
numericAttributeValueOutOfRange
@Message(id=22, value="Numeric value of attribute \"%s\" is out of range; actual value is \"%s\" but the value must not be less than %d or more than %d") ConfigXMLParseException numericAttributeValueOutOfRange(QName attributeName, String actualValue, long minValue, long maxValue, @Param(javax.xml.stream.Location.class) XMLLocation location) -
inetAddressParseException
@Message(id=23, value="Failed to parse IP address value of attribute \"%s\": \"%s\" is not a valid IP address") ConfigXMLParseException inetAddressParseException(QName attributeName, String address, @Param(javax.xml.stream.Location.class) XMLLocation location) -
cidrAddressParseException
@Message(id=24, value="Failed to parse CIDR address value of attribute \"%s\": \"%s\" is not a valid CIDR address") ConfigXMLParseException cidrAddressParseException(QName attributeName, String address, @Param(javax.xml.stream.Location.class) XMLLocation location)
-