View Javadoc

1   /*
2    * Copyright 2004-2005, University Health Network.  All rights reserved. Distributed under the BSD 
3    * license (see http://opensource.org/licenses/bsd-license.php).
4    *  
5    * MethodDataSourceInvocationTargetException.java
6    *
7    * Created on 21-Dec-2004 at 3:52:48 PM
8    */
9   package ca.uhn.cache.exception;
10  
11  import java.lang.reflect.InvocationTargetException;
12  
13  
14  /***
15   * Thrown by the <code>MethodDataSource</code> class when an instance
16   * of <code>InvocationTargetException</code> is captured.
17   * 
18   * @author <a href="mailto:alexei.guevara@uhn.on.ca">Alexei Guevara</a>
19   * @version $Revision: 1.1 $ updated on $Date: 2005/01/24 22:53:02 $ by $Author: bryan_tripp $
20   */
21  public class MethodDataSourceInvocationTargetException extends DataSourceException {
22  
23      /***
24       * {@inheritDoc}
25       */
26      public MethodDataSourceInvocationTargetException( InvocationTargetException theCause ) {
27          super( theCause );
28      }
29  
30      /***
31       * {@inheritDoc}
32       */
33      public MethodDataSourceInvocationTargetException( String theMessage, InvocationTargetException theCause ) {
34          super( theMessage, theCause );
35      }
36  
37  }