1 package org.jbpm.jpdl; 2 3 import java.util.*; 4 5 public class JpdlException extends RuntimeException { 6 7 private static final long serialVersionUID = 1L; 8 9 protected List problems = null; 10 11 public JpdlException(List problems) { 12 super(problems.toString()); 13 this.problems = problems; 14 } 15 16 public JpdlException(String problem) { 17 this(Arrays.asList(new Object []{problem})); 18 } 19 20 public List getProblems() { 21 return problems; 22 } 23 } 24 | Popular Tags |