1 17 package org.apache.excalibur.source; 18 19 import java.io.IOException ; 20 21 import org.apache.avalon.framework.CascadingThrowable; 22 23 30 public class SourceException 31 extends IOException implements CascadingThrowable 32 { 33 36 private final Throwable m_throwable; 37 38 43 public SourceException( final String message ) 44 { 45 this( message, null ); 46 } 47 48 54 public SourceException( final String message, final Throwable throwable ) 55 { 56 super( message ); 57 m_throwable = throwable; 58 } 59 60 65 public final Throwable getCause() 66 { 67 return m_throwable; 68 } 69 } 70 | Popular Tags |