+ catchers
This commit is contained in:
@@ -59,10 +59,13 @@ public class Catchers implements Listener {
|
|||||||
|
|
||||||
public interface Catcher {
|
public interface Catcher {
|
||||||
|
|
||||||
Catcher before();
|
default Catcher before() {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
boolean after(String message);
|
boolean after(String message);
|
||||||
|
|
||||||
void cancel();
|
default void cancel() {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user