public interface Visitor<T,ThrowableType extends Throwable>
| Modifier and Type | Method and Description |
|---|---|
boolean |
visit(T visited)
Visit an instance of T
|
boolean visit(T visited) throws ThrowableType extends Throwable
visited - the visited instanceThrowableType - if an exception occurred during processing. Any client call that initiated the visiting should
get the exception in order to handle it properly.ThrowableType extends Throwable