com.miginfocom.util
Class ExceptionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.miginfocom.util.ExceptionEvent
All Implemented Interfaces:
java.io.Serializable

public class ExceptionEvent
extends java.util.EventObject

An exception that contains another exception with a message that normally explains the context.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExceptionEvent(java.lang.Object source, java.lang.String msg, java.lang.Exception ex)
           
 
Method Summary
 java.lang.Exception getException()
          The original excpetion.
 java.lang.String getMessage()
          A message that normally explains the context
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionEvent

public ExceptionEvent(java.lang.Object source,
                      java.lang.String msg,
                      java.lang.Exception ex)
Parameters:
source - The source. Might be null.
msg - A message that normally explains the context. Never null.
ex - The original exception. Never null.
Method Detail

getMessage

public java.lang.String getMessage()
A message that normally explains the context

Returns:
a message that normally explains the context. Never null.

getException

public java.lang.Exception getException()
The original excpetion.

Returns:
The original excpetion. Never null.


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.