KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > jpdl > JpdlException


1 package org.jbpm.jpdl;
2
3 import java.util.*;
4
5 public class JpdlException extends RuntimeException JavaDoc {
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 JavaDoc problem) {
17     this(Arrays.asList(new Object JavaDoc[]{problem}));
18   }
19
20   public List getProblems() {
21     return problems;
22   }
23 }
24
Popular Tags