KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > magnet > MagnetException


1 package org.sapia.magnet;
2
3 import org.sapia.util.CompositeException;
4
5
6 /**
7  * This exception is a generic exception used by the magnet modules.
8  *
9  * @author Jean-Cedric Desrochers
10  * <dl>
11  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
12  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
13  * <a HREF="http://www.sapia-oss.org/license.html" target="sapia-license">license page</a> at the Sapia OSS web site</dd></dt>
14  * </dl>
15  */

16 public class MagnetException extends CompositeException {
17
18   /////////////////////////////////////////////////////////////////////////////////////////
19
//////////////////////////////////// CONSTRUCTORS /////////////////////////////////////
20
/////////////////////////////////////////////////////////////////////////////////////////
21

22   /**
23    * Creates a new MagnetException instance with the arguments passed in.
24    *
25    * @param aMessage The message describing the error.
26    * @param aSourceError The source error to encapsulate.
27    */

28   public MagnetException(String JavaDoc aMessage, Throwable JavaDoc aSourceError) {
29     super(aMessage, aSourceError);
30   }
31
32   /**
33    * Creates a new MagnetException instance with the argument passed in.
34    *
35    * @param aMessage The message describing the error.
36    */

37   public MagnetException(String JavaDoc aMessage) {
38     super(aMessage);
39   }
40 }
41
Popular Tags