001    /**
002     * ExecutionException.java
003     * jCOLIBRI2 framework. 
004     * @author Juan A. Recio-García.
005     * GAIA - Group for Artificial Intelligence Applications
006     * http://gaia.fdi.ucm.es
007     * 03/01/2007
008     */
009    package jcolibri.exception;
010    
011    /**
012     * Exception in the execution of a method.
013     * @author Juan A. Recio-García
014     * @version 2.0
015     */
016    public class ExecutionException extends java.lang.Exception {
017            private static final long serialVersionUID = 1L;
018    
019            /**
020             * Creates a new <code>ExecutionException</code> without a detail message.
021             */
022            public ExecutionException() {
023            }
024    
025            /**
026             * Creates a new <code>ExecutionException</code> with the specified detail
027             * message.
028             * 
029             * @param msg
030             *            description message.
031             */
032            public ExecutionException(String msg) {
033                    super(msg);
034            }
035    
036            /**
037             * Constructs a new <code>ExecutionException</code> with the specified
038             * detail message.
039             * 
040             * @param th
041             *            cause of the exception.
042             */
043            public ExecutionException(Throwable th) {
044                    super(th);
045            }
046    
047    }