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 */
009package es.ucm.fdi.gaia.jcolibri.exception;
010
011/**
012 * Exception in the execution of a method.
013 * @author Juan A. Recio-García
014 * @version 2.0
015 */
016public class ExecutionException extends Exception {
017        
018        private static final long serialVersionUID = 1L;
019
020        /**
021         * Creates a new <code>ExecutionException</code> without a detail message.
022         */
023        public ExecutionException() {
024        }
025
026        /**
027         * Creates a new <code>ExecutionException</code> with the specified detail
028         * message.
029         * 
030         * @param msg
031         *            description message.
032         */
033        public ExecutionException(String msg) {
034                super(msg);
035        }
036
037        /**
038         * Constructs a new <code>ExecutionException</code> with the specified
039         * detail message.
040         * 
041         * @param th
042         *            cause of the exception.
043         */
044        public ExecutionException(Throwable th) {
045                super(th);
046        }
047
048}