1 package org.jbpm.bpel.exe; 2 3 import javax.xml.namespace.QName ; 4 5 import org.jbpm.bpel.data.def.VariableTypeInfo; 6 7 11 public class Fault extends RuntimeException { 12 13 long id; 14 private QName name; 15 private Object data; 16 private VariableTypeInfo typeInfo; 17 18 private static final long serialVersionUID = 1L; 19 20 public Fault() { 21 } 22 23 public Fault(QName name) { 24 this(name, null, null); 25 } 26 27 public Fault(QName name, Object data, VariableTypeInfo typeInfo) { 28 this.name = name; 29 this.data = data; 30 this.typeInfo = typeInfo; 31 } 32 33 public QName getName() { 34 return name; 35 } 36 37 public Object getData() { 38 return data; 39 } 40 41 public VariableTypeInfo getTypeInfo() { 42 return typeInfo; 43 } 44 } | Popular Tags |