Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
defaultMessage
Default message.
|
private java.lang.String |
message
The message to be placed in the
PoisonException raised. |
Constructor and Description |
---|
PoisonFilter()
Constructs a new filter with the default message.
|
PoisonFilter(java.lang.String message)
Constructs a new filter with a specific message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
filter(java.lang.Object obj)
Applies the filter operation.
|
private java.lang.String message
PoisonException
raised.private static java.lang.String defaultMessage
public PoisonFilter()
public PoisonFilter(java.lang.String message)
public java.lang.Object filter(java.lang.Object obj)
Filter