Package org.protelis.test.observer
Class SimpleExceptionObserver
java.lang.Object
org.protelis.test.observer.SimpleExceptionObserver
- All Implemented Interfaces:
ExceptionObserver
Simple exception observer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAn exception has been thrown.
-
Constructor Details
-
SimpleExceptionObserver
public SimpleExceptionObserver()
-
-
Method Details
-
exceptionThrown
Description copied from interface:ExceptionObserverAn exception has been thrown.- Specified by:
exceptionThrownin interfaceExceptionObserver- Parameters:
ex- exception
-
getExceptionList
- Specified by:
getExceptionListin interfaceExceptionObserver- Returns:
- list of all the thrown exception
-
getLastException
- Specified by:
getLastExceptionin interfaceExceptionObserver- Returns:
- last thrown exception
-
getFirstException
- Specified by:
getFirstExceptionin interfaceExceptionObserver- Returns:
- first thrown exception
-