1 10 package org.picocontainer; 11 12 import java.util.ArrayList ; 13 import java.util.List ; 14 15 16 27 public class PicoVerificationException 28 extends PicoException { 29 32 private final List nestedExceptions = new ArrayList (); 33 34 39 public PicoVerificationException(final List nestedExceptions) { 40 this.nestedExceptions.addAll(nestedExceptions); 41 } 42 43 48 public List getNestedExceptions() { 49 return nestedExceptions; 50 } 51 52 59 public String getMessage() { 60 return nestedExceptions.toString(); 61 } 62 } 63 | Popular Tags |