KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > server > kernel > ServiceFailureException


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.server.kernel;
10
11 /**
12  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
13  * @version $Revision: 1.2 $
14  */

15 public class ServiceFailureException extends KernelException
16 {
17
18    public ServiceFailureException(Exception JavaDoc cause)
19    {
20       super(cause);
21    }
22
23    public Exception JavaDoc getException()
24    {
25       return (Exception JavaDoc)getCause();
26    }
27 }
28
Popular Tags