org.geotools.utils.progress
Class ExceptionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.geotools.utils.progress.ProcessingEvent
          extended by org.geotools.utils.progress.ExceptionEvent
All Implemented Interfaces:
java.io.Serializable

public class ExceptionEvent
extends ProcessingEvent

Event launched when an exception occurrs. Percentage and message may be missing, in this case they will be -1 and the exception message (localized if available, standard otherwise)

Author:
aaime, TOPP.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExceptionEvent(java.lang.Object source, java.lang.Exception exception)
           
ExceptionEvent(java.lang.Object source, java.lang.String message, double percentage, java.lang.Exception exception)
           
 
Method Summary
 java.lang.Exception getException()
           
 
Methods inherited from class org.geotools.utils.progress.ProcessingEvent
getMessage, getPercentage
 
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 message,
                      double percentage,
                      java.lang.Exception exception)

ExceptionEvent

public ExceptionEvent(java.lang.Object source,
                      java.lang.Exception exception)
Method Detail

getException

public java.lang.Exception getException()


Copyright © 1996-2010 Geotools. All Rights Reserved.