01: /* Copyright 2001, 2004 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal;
07:
08: /**
09: * A serious internal portal exception.
10: * @author Peter Kharchenko
11: * @version $Revision: 34872 $ $Date: 2004-10-30 12:58:19 -0700 (Sat, 30 Oct 2004) $
12: */
13: public class InternalPortalException extends Throwable {
14:
15: /**
16: * Instantiate an InternalPortalException wrapper around the given
17: * Throwable.
18: * @param cause - a Throwable to be wrapped
19: */
20: public InternalPortalException(Throwable cause) {
21: super (cause);
22: }
23:
24: /**
25: * Delegates to getCause().
26: * @return underlying cause
27: * @deprecated use Throwable.getCause() instead
28: */
29: public Throwable getException() {
30: return getCause();
31: }
32:
33: }
|