Revision 7095e8e3
Added by Andreas Kohlbecker almost 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/event/error/DelegatingErrorHandler.java | ||
---|---|---|
59 | 59 |
@Override |
60 | 60 |
public void error(ErrorEvent event) { |
61 | 61 |
|
62 |
boolean handlerFound = true; |
|
63 | 62 |
Throwable throwable = event.getThrowable(); |
64 | 63 |
while(throwable != null && ( |
65 | 64 |
RpcInvocationException.class.isAssignableFrom(throwable.getClass()) || |
... | ... | |
77 | 76 |
} |
78 | 77 |
throwable = throwable.getCause(); |
79 | 78 |
} |
80 |
if(!handlerFound){
|
|
79 |
if(event.getThrowable() != null){
|
|
81 | 80 |
Notification.show(event.getThrowable().getMessage()); |
82 | 81 |
} |
83 | 82 |
} |
Also available in: Unified diff
fix #8246 fixing handling of CANCEL events of TaxonNameEditors in the RegistrationWorkingsetPresenter