Skip to content

Package: GenInterfaceClassVisitorException

GenInterfaceClassVisitorException

Coverage

1: package de.fhdw.wtf.generator.java.visitor;
2:
3: import de.fhdw.wtf.generator.java.generatorModel.GenExternalInterfaceClass;
4: import de.fhdw.wtf.generator.java.generatorModel.GenInterfaceWithClassImplClass;
5: import de.fhdw.wtf.generator.java.generatorModel.GenSimpleInterfaceClass;
6:
7: /**
8: * This visitor handles all GenInterfaceClass-types. Maybe throws an exception.
9: *
10: * @param <Y>
11: * The type of exception that can be thrown by handle-methods.
12: */
13: public interface GenInterfaceClassVisitorException<Y extends java.lang.Exception> {
14:         
15:         /**
16:          * Handle method for objects of GenSimpleInterfaceClass-type.
17:          *
18:          * @param simpleInterface
19:          * GenSimpleInterfaceClass to handle.
20:          * @throws Y
21:          * The exception that is thrown while handling.
22:          */
23:         void handle(GenSimpleInterfaceClass simpleInterface) throws Y;
24:         
25:         /**
26:          * Handle method for objects of GenInterfaceWithClassImplClass-type.
27:          *
28:          * @param interfaceWithImplClass
29:          * GenInterfaceWithClassImplClass to handle.
30:          * @throws Y
31:          * The exception that is thrown while handling.
32:          */
33:         void handle(GenInterfaceWithClassImplClass interfaceWithImplClass) throws Y;
34:         
35:         /**
36:          * Handle method for objects of GenExternalInterfaceClass-type.
37:          *
38:          * @param iface
39:          * GenExternalInterfaceClass to handle.
40:          * @throws Y
41:          * The exception that is thrown while handling.
42:          */
43:         void handle(GenExternalInterfaceClass iface) throws Y;
44: }