Package com.gurock.smartinspect
Class ErrorEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.gurock.smartinspect.ErrorEvent
-
- All Implemented Interfaces:
Serializable
public final class ErrorEvent extends EventObject
This class is used by the SmartInspectListener.onError event of the SmartInspect class and the ProtocolListener.onError event of the Protocol class.It has only one public class member named getException. This member is a method, which just returns the occurred exception.
This class is fully thread-safe.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ErrorEvent(Object source, Exception e)Creates and initializes an ErrorEvent instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptiongetException()Returns the occurred exception.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getException
public Exception getException()
Returns the occurred exception.- Returns:
- The occurred exception.
-
-