1 10 package org.nanocontainer.integrationkit; 11 12 import org.picocontainer.PicoException; 13 14 public class PicoCompositionException extends PicoException { 15 16 protected Throwable cause; 17 18 protected PicoCompositionException() { 19 super(); 20 } 21 22 public PicoCompositionException(String message, Throwable cause) { 23 super(message); 24 this.cause = cause; 25 } 26 27 public PicoCompositionException(Throwable cause) { 28 this.cause = cause; 29 } 30 31 public PicoCompositionException(String message) { 32 super(message); 33 cause = null; 34 } 35 36 public Throwable getCause() { 37 return cause; 38 } 39 } 40 | Popular Tags |