| Constructor and Description |
|---|
NonNullTagFilter(I18NBoundMessage message)
Creates a new filter with the given mismatch message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
assertMatch(Tag tag)
Asserts that the given tag is acceptable to the receiver.
|
I18NBoundMessage |
getMessage()
Returns the message for the exception thrown when the receiver
filter rejects a tag.
|
public NonNullTagFilter(I18NBoundMessage message)
message - The message for the exception thrown when the
filter rejects a tag.public I18NBoundMessage getMessage()
public void assertMatch(Tag tag) throws I18NException
TagFilterassertMatch in interface TagFilterI18NException - Thrown if the tag is not acceptable.Copyright © 2015. All Rights Reserved.