1 17 18 package org.apache.avalon.repository; 19 20 26 public class RepositoryException extends Exception  27 { 28 private Throwable m_cause; 29 30 35 public RepositoryException( final String message ) 36 { 37 this( message, null ); 38 } 39 40 46 public RepositoryException( final String message, final Throwable cause ) 47 { 48 super( message ); 49 m_cause = cause; 50 } 51 52 56 public Throwable getCause() 57 { 58 return m_cause; 59 } 60 } 61 62 | Popular Tags |