KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > phoenix > interfaces > ApplicationException


1 /*
2  * Copyright (C) The Apache Software Foundation. All rights reserved.
3  *
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE.txt file.
7  */

8 package org.apache.avalon.phoenix.interfaces;
9
10 import org.apache.avalon.framework.CascadingException;
11
12 /**
13  * Exception to indicate that an Application failed to
14  * startup or shutdown cleanly.
15  *
16  * @author <a HREF="mailto:peter at apache.org">Peter Donald</a>
17  */

18 public final class ApplicationException
19     extends CascadingException
20 {
21     /**
22      * Construct a new <code>ApplicationException</code> instance.
23      *
24      * @param message The detail message for this exception.
25      */

26     public ApplicationException( final String JavaDoc message )
27     {
28         this( message, null );
29     }
30
31     /**
32      * Construct a new <code>ApplicationException</code> instance.
33      *
34      * @param message The detail message for this exception.
35      * @param throwable the root cause of the exception
36      */

37     public ApplicationException( final String JavaDoc message, final Throwable JavaDoc throwable )
38     {
39         super( message, throwable );
40     }
41 }
42
Popular Tags