1 17 18 package org.apache.avalon.util.exception; 19 20 26 public class StandardError 27 extends Error  28 { 29 private final Throwable m_throwable; 30 31 37 public StandardError( final String message ) 38 { 39 this( message, null ); 40 } 41 42 48 public StandardError( final String message, final Throwable throwable ) 49 { 50 super( message ); 51 m_throwable = throwable; 52 } 53 54 59 public final Throwable getCause() 60 { 61 return m_throwable; 62 } 63 } 64 | Popular Tags |