KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > xml > idefix > SerializationException


1 package org.sapia.util.xml.idefix;
2
3
4 // Import of Sapia's utility classes
5
// ---------------------------------
6
import org.sapia.util.CompositeException;
7
8
9 /**
10  * Thrown when a serializer could not process an object.
11  *
12  * @author <a HREF="mailto:jc@sapia-oss.org">Jean-Cedric Desrochers</a>
13  * <dl>
14  * <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>
15  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
16  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
17  * </dl>
18  */

19 public class SerializationException extends CompositeException {
20   /**
21    * Creates a new SerializationException instance with the arguments passed in.
22    *
23    * @param aMessage The message describing the error.
24    * @param aSourceError The source error to encapsulate.
25    */

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

35   public SerializationException(String JavaDoc aMessage) {
36     super(aMessage);
37   }
38 }
39
Popular Tags