Logo
Distributed Genetic Programming Framework
print print

File org.sfc.events.ErrorEvent.java

Here you can find all the information about the file org.sfc.events.ErrorEvent.java. You may explore it here or download it onto your local disk.
/*
 * Copyright (c) 2006 Thomas Weise
 *
 * E-Mail           : tweise@gmx.de
 * Creation Date    : 2006-02-21 04:54:11
 * Original Filename: org.sfc.events.ErrorEvent.java
 * Version          : 3.0.0
 * Last modification: 2006-04-10
 *                by: Thomas Weise
 *
 * License          : GNU LESSER GENERAL PUBLIC LICENSE
 *                    Version 2.1, February 1999
 *                    You should have received a copy of this license along
 *                    with this library; if not, write to the Free Software
 *                    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *                    MA 02111-1307, USA or download the license under
 *                    http://www.gnu.org/copyleft/lesser.html.
 *
 * Warranty         : This software is provided "as is" without any
 *                    warranty; without even the implied warranty of
 *                    merchantability or fitness for a particular purpose.
 *                    See the Gnu Lesser General Public License for more
 *                    details.
 */


package org.sfc.events;


/**
 * This event encapsulates an error, represented by an instance of
 * <code>Throwable</code>.
 *
 * @author Thomas Weise
 */

public class ErrorEvent extends TimedEvent
  {
/**
 * The serial version uid.
 */

  private static final long serialVersionUID = 1;


/**
 * The error caught and send to the event bus in form of this event.
 */

  private final Throwable m_error ;


/**
 * Create a new <code>ErrorEvent</code>.
 * @param p_source    The source object. The error has been caused by this
 *                    object or was at least encountered there.
 * @param p_error     The error caught.
 */

  public  ErrorEvent  (final Object     p_source,
                       final Throwable  p_error)
    {
    super(p_source);
    this.m_error = p_error;
    }


/**
 * Returns the error information encapsulated by this event.
 * @return  The <code>Throwable</code> instance caught by this event.
 */

  public  final Throwable get_error ()
    {
    return this.m_error;
    }
  }

File Information:

file name:ErrorEvent.java
package:org.sfc.events
qualified name:org.sfc.events.ErrorEvent.java
file type:Java Source File
download location:download http://dgpf.sourceforge.net/source/org/sfc/events/ErrorEvent.java
size:2.095 KB (2146 B)
uploaded: 2015-07-22 04:11:11 GMT+0000
last update: 2006-04-10 10:13:07 GMT+0000
last access: 2018-01-23 19:35:40 GMT+0000

statistics online since 2006-01-02.   RSS Feed
Contact us by sending an email to tweise@gmx.de to receive further information, to report errors, or to join our project.
All content on this site (http://dgpf.sourceforge.net/) is LGPL-licensed.
http://dgpf.sourceforge.net/scripts/source/source.php last modified at 2015-07-22 04:10:53 GMT+0000 served at 2018-01-23 19:35:40 GMT+0000.
Valid CSS Valid XHTML 1.1
Valid RSS SourceForge.net Logo