Class PoisonFilter
java.lang.Object
org.jcsp.util.filter.PoisonFilter
- All Implemented Interfaces:
Filter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new filter with the default message.PoisonFilter(String message) Constructs a new filter with a specific message. -
Method Summary
-
Field Details
-
message
The message to be placed in thePoisonExceptionraised. -
defaultMessage
Default message.
-
-
Constructor Details
-
PoisonFilter
public PoisonFilter()Constructs a new filter with the default message. -
PoisonFilter
Constructs a new filter with a specific message.
-
-
Method Details
-
filter
Description copied from interface:FilterApplies the filter operation. The object given can be modified and returned or another object substituted in its place.
-