Revision b07820f4
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/handler/ConvertPerson2TeamHandlerE4.java | ||
---|---|---|
64 | 64 |
} catch (IllegalArgumentException e) { |
65 | 65 |
MessagingUtils.errorDialog("Can not convert Person into a Team", null, e.getLocalizedMessage(), TaxeditorBulkeditorPlugin.PLUGIN_ID,e, true); |
66 | 66 |
} catch (MergeException e) { |
67 |
MessagingUtils.informationDialog("Convert not possible", "Person can not be transformed into team as it is already part of a team.");
|
|
67 |
MessagingUtils.informationDialog("Convert not possible", "Person can not be transformed into team. Probably it is referenced in a way that allows only persons. Check referencing objects view for details.");
|
|
68 | 68 |
} |
69 | 69 |
if (result != null &&result.isOk()){ |
70 | 70 |
team = (Team)result.getCdmEntity(); |
Also available in: Unified diff
ref #4908 adapt error message for MergeException