KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > modfact > qvt > engine > QvtException


1 package org.objectweb.modfact.qvt.engine;
2
3 public class QvtException extends RuntimeException JavaDoc {
4
5     private Throwable JavaDoc cause;
6
7     QvtException(String JavaDoc msg, Throwable JavaDoc cause) {
8         super(msg);
9         this.cause = cause;
10     }
11     
12     public Throwable JavaDoc getCause() {
13         return cause;
14     }
15
16 }
17
18 /////////////////////////////////////////////////////////
19
class ExpEvalException extends QvtException {
20     ExpEvalException(String JavaDoc msg, Throwable JavaDoc cause) {
21         super(msg, cause);
22     }
23 }
24
25 ////////////////////////////////////////////////
26
class ReflectException extends QvtException {
27     ReflectException(String JavaDoc msg, Throwable JavaDoc cause) {
28         super(msg, cause);
29     }
30 }
31
Popular Tags