1 55 package org.apache.avalon.framework; 56 57 64 public class CascadingException 65 extends Exception  66 implements CascadingThrowable 67 { 68 71 private final Throwable m_throwable; 72 73 78 public CascadingException( final String message ) 79 { 80 this( message, null ); 81 } 82 83 89 public CascadingException( final String message, final Throwable throwable ) 90 { 91 super( message ); 92 m_throwable = throwable; 93 } 94 95 100 public final Throwable getCause() 101 { 102 return m_throwable; 103 } 104 } 105 | Popular Tags |