KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > bpel > exe > Fault


1 package org.jbpm.bpel.exe;
2
3 import javax.xml.namespace.QName JavaDoc;
4
5 import org.jbpm.bpel.data.def.VariableTypeInfo;
6
7 /**
8  * @author Juan Cantu
9  * @version $Revision: 1.3 $ $Date: 2005/06/17 01:31:31 $
10  */

11 public class Fault extends RuntimeException JavaDoc {
12   
13   long id;
14   private QName JavaDoc name;
15   private Object JavaDoc data;
16   private VariableTypeInfo typeInfo;
17   
18   private static final long serialVersionUID = 1L;
19
20   public Fault() {
21   }
22
23   public Fault(QName JavaDoc name) {
24     this(name, null, null);
25   }
26
27   public Fault(QName JavaDoc name, Object JavaDoc data, VariableTypeInfo typeInfo) {
28     this.name = name;
29     this.data = data;
30     this.typeInfo = typeInfo;
31   }
32
33   public QName JavaDoc getName() {
34     return name;
35   }
36
37   public Object JavaDoc getData() {
38     return data;
39   }
40   
41   public VariableTypeInfo getTypeInfo() {
42     return typeInfo;
43   }
44 }
Popular Tags