KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > excalibur > container > ContainerException


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.excalibur.container;
9
10 import org.apache.avalon.framework.CascadingException;
11
12 /**
13  * Exception to indicate error manipulating container.
14  *
15  * @author <a HREF="mailto:peter@apache.org">Peter Donald</a>
16  */

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

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

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