public final class SimpleExceptionObserver extends java.lang.Object implements ExceptionObserver
| Constructor and Description |
|---|
SimpleExceptionObserver() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
exceptionThrown(java.lang.Exception ex)
An exception has been thrown.
|
java.util.List<java.lang.Exception> |
getExceptionList() |
java.util.Optional<java.lang.Exception> |
getFirstException() |
java.util.Optional<java.lang.Exception> |
getLastException() |
public java.lang.Exception exceptionThrown(java.lang.Exception ex)
ExceptionObserverexceptionThrown in interface ExceptionObserverex - exceptionpublic java.util.List<java.lang.Exception> getExceptionList()
getExceptionList in interface ExceptionObserverpublic java.util.Optional<java.lang.Exception> getLastException()
getLastException in interface ExceptionObserverpublic java.util.Optional<java.lang.Exception> getFirstException()
getFirstException in interface ExceptionObserver