1 16 package org.mortbay.util; 17 18 import java.util.EventObject ; 19 20 24 public class LifeCycleEvent extends EventObject  25 { 26 Throwable cause; 27 28 public LifeCycleEvent(Object source) 29 { 30 super(source); 31 } 32 33 public LifeCycleEvent(Object source, Throwable cause) 34 { 35 super(source); 36 this.cause=cause; 37 } 38 39 public Throwable getCause() 40 { 41 return cause; 42 } 43 } 44 45 46 | Popular Tags |