Skip to contentPackage: GenClassClassVisitorException
GenClassClassVisitorException
Coverage
      1: package de.fhdw.wtf.generator.java.visitor;
2: 
3: import de.fhdw.wtf.generator.java.generatorModel.GenAnyType;
4: import de.fhdw.wtf.generator.java.generatorModel.GenAspect;
5: import de.fhdw.wtf.generator.java.generatorModel.GenException;
6: import de.fhdw.wtf.generator.java.generatorModel.GenExternalClassClass;
7: import de.fhdw.wtf.generator.java.generatorModel.GenJavaException;
8: import de.fhdw.wtf.generator.java.generatorModel.GenUserClass;
9: 
10: /**
11:  * This visitor handles all GenClass-types. Maybe throws an exception.
12:  * 
13:  * @param <Y>
14:  *            The type of exception that can be thrown by handle-methods.
15:  */
16: public interface GenClassClassVisitorException<Y extends Exception> {
17:         
18:         /**
19:          * Handle method for objects of GenException-type.
20:          * 
21:          * @param e
22:          *            GenException to handle.
23:          * @throws Y
24:          *             Y
25:          */
26:         void handle(GenException e) throws Y;
27:         
28:         /**
29:          * Handle method for objects of GenAnyType-type.
30:          * 
31:          * @param anyType
32:          *            GenAnyType to handle.
33:          * @throws Y
34:          *             Y
35:          */
36:         void handle(GenAnyType anyType) throws Y;
37:         
38:         /**
39:          * Handle method for objects of GenJavaException-type.
40:          * 
41:          * @param javaE
42:          *            GenJavaException to handle.
43:          * @throws Y
44:          *             Y
45:          */
46:         void handle(GenJavaException javaE) throws Y;
47:         
48:         /**
49:          * Handle method for objects of GenUserClass-type.
50:          * 
51:          * @param userclass
52:          *            GenUserClass to handle.
53:          * @throws Y
54:          *             Y
55:          */
56:         void handle(GenUserClass userclass) throws Y;
57:         
58:         /**
59:          * Handle method for objects of GenAspect-type.
60:          * 
61:          * @param aspect
62:          *            GenAspect to handle.
63:          * @throws Y
64:          *             Y
65:          */
66:         void handle(GenAspect aspect) throws Y;
67:         
68:         /**
69:          * Handle method for objects of GenExternalClassClass-type.
70:          * 
71:          * @param externalClass
72:          *            GenExternalClassClass to handle.
73:          * @throws Y
74:          *             Y
75:          */
76:         void handle(GenExternalClassClass externalClass) throws Y;
77: }