01: package com.jclark.xml.parse;
02:
03: /**
04: * Thrown to indicate that a method in <code>Application</code> has thrown
05: * an Exception.
06: * An <code>ApplicationException</code> is not thrown when a method
07: * in <code>Application</code> throws an exception derived
08: * from <code>RuntimeException</code>.
09: * @version $Revision: 1.1 $ $Date: 1998/12/28 06:44:25 $
10: */
11:
12: public class ApplicationException extends Exception {
13: private final Exception exception;
14:
15: public ApplicationException(Exception e) {
16: exception = e;
17: }
18:
19: /**
20: * Returns the exception thrown by the <code>Application</code> method.
21: */
22: public Exception getException() {
23: return exception;
24: }
25: }
|