org.xnap.plugin.gift.net.event
Class ErrorEvent

java.lang.Object
  extended by org.xnap.plugin.gift.net.event.Event
      extended by org.xnap.plugin.gift.net.event.ErrorEvent

public class ErrorEvent
extends Event

ErrorEvent

Version:
CVS $Id: ErrorEvent.java,v 1.1 2003/10/05 00:20:32 squig Exp $
Author:
Tammo van Lessen

Constructor Summary
ErrorEvent(java.lang.Exception e)
          Creates a new ErrorEvent object.
ErrorEvent(java.lang.String msg)
          Constructor for ErrorEvent.
ErrorEvent(java.lang.String msg, java.lang.Exception e)
          Creates a new ErrorEvent object.
 
Method Summary
 java.lang.String getErrorMessage()
          Returns the msg.
 java.lang.Exception getException()
          Returns the exception.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorEvent

public ErrorEvent(java.lang.String msg)
Constructor for ErrorEvent.

Parameters:
msg - Message

ErrorEvent

public ErrorEvent(java.lang.String msg,
                  java.lang.Exception e)
Creates a new ErrorEvent object.

Parameters:
msg - Message
e - Exception

ErrorEvent

public ErrorEvent(java.lang.Exception e)
Creates a new ErrorEvent object.

Parameters:
e - Exception
Method Detail

getErrorMessage

public java.lang.String getErrorMessage()
Returns the msg.

Returns:
String

getException

public java.lang.Exception getException()
Returns the exception.

Returns:
Exception

toString

public java.lang.String toString()
Overrides:
toString in class Event
See Also:
Object.toString()


Copyright © 2001-2005 XNap Team. All Rights Reserved.