1 17 18 package org.apache.avalon.util.exception; 19 20 26 public class StandardException 27 extends Exception  28 { 29 32 private final Throwable m_throwable; 33 34 39 public StandardException( final String message ) 40 { 41 this( message, null ); 42 } 43 44 50 public StandardException( final String message, final Throwable throwable ) 51 { 52 super( message ); 53 m_throwable = throwable; 54 } 55 56 61 public final Throwable getCause() 62 { 63 return m_throwable; 64 } 65 } 66 | Popular Tags |