Revision c78fd1ac
Added by Andreas Kohlbecker over 5 years ago
src/main/java/eu/etaxonomy/vaadin/mvp/AbstractPopupEditor.java | ||
---|---|---|
411 | 411 |
PermissionDeniedException permissionDeniedException = (PermissionDeniedException)e.getCause().getCause(); |
412 | 412 |
Notification.show("Permission denied", permissionDeniedException.getMessage(), Type.ERROR_MESSAGE); |
413 | 413 |
} else { |
414 |
// Logger.getLogger(this.getClass()).error("Error saving", e); |
|
415 |
// Notification.show("Error saving", Type.ERROR_MESSAGE); |
|
416 |
throw new RuntimeException("Error saving", e); |
|
414 |
throw new PopupEditorException("Error saving popup editor", this, e); |
|
417 | 415 |
} |
418 | 416 |
} |
419 | 417 |
} |
Also available in: Unified diff
improving error messaging: PopupEditorException with editor context information