1 package org.sapia.util.xml; 2 3 4 // Import of Sapia's utility classes 5 // --------------------------------- 6 import org.sapia.util.CompositeException; 7 8 9 /** 10 * This exception is thrown by a <code>ConfixProcessorIF</code> when the latter 11 * cannot process a given XML configuration or by the <code>IdefixProcessorIF</code> 12 * when it cannot process an object. 13 * 14 * @see org.sapia.util.xml.confix.ConfixProcessorIF 15 * @see org.sapia.util.xml.idefix.IdefixProcessorIF 16 * @author Jean-Cedric Desrochers 17 * <dl> 18 * <dt><b>Copyright:</b><dd>Copyright © 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt> 19 * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the 20 * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt> 21 * </dl> 22 */ 23 public class ProcessingException extends CompositeException { 24 ///////////////////////////////////////////////////////////////////////////////////////// 25 //////////////////////////////////// CONSTRUCTORS ///////////////////////////////////// 26 ///////////////////////////////////////////////////////////////////////////////////////// 27 28 /** 29 * Creates a new ProcessingException instance with the arguments passed in. 30 * 31 * @param aMessage The message describing the error. 32 * @param aSourceError The source error to encapsulate. 33 */ 34 public ProcessingException(String aMessage, Throwable aSourceError) { 35 super(aMessage, aSourceError); 36 } 37 38 /** 39 * Creates a new ProcessingException instance with the argument passed in. 40 * 41 * @param aMessage The message describing the error. 42 */ 43 public ProcessingException(String aMessage) { 44 super(aMessage); 45 } 46 } 47