public interface Visitor<T,ThrowableType extends Throwable>
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