Skip to content

Package: TypeVisitorException

TypeVisitorException

Coverage

1: package de.fhdw.wtf.persistence.meta;
2:
3: /**
4: * This class represents a Visitor for all descendants of the {@link de.fhdw.wtf.persistence.meta.Type Type-class}. It
5: * provides void operations which can throw an exception.
6: *
7: * @param <Exc>
8: * Specifies an exception that can be thrown when performing any method for this classes operations.
9: */
10: public interface TypeVisitorException<Exc extends Exception> {
11:         
12:         /**
13:          * Handler for a given UserType.
14:          *
15:          * @param type
16:          * the UserType.
17:          * @throws Exc
18:          * depending on a concrete implementation of this operation.
19:          */
20:         void handleUserType(UserType type) throws Exc;
21:         
22:         /**
23:          * Handler for a given BaseType.
24:          *
25:          * @param t
26:          * the BaseType.
27:          * @throws Exc
28:          * depending on a concrete implementation of this operation.
29:          */
30:         void handleBaseType(Type t) throws Exc;
31: }