Revision ae137b34
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/validation/ValidationDaemon.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import eu.etaxonomy.cdm.api.service.IEntityValidationService; |
12 | 12 |
import eu.etaxonomy.cdm.model.validation.EntityValidation; |
13 |
import eu.etaxonomy.taxeditor.editor.Messages; |
|
13 | 14 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
14 | 15 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
15 | 16 |
|
... | ... | |
34 | 35 |
|
35 | 36 |
|
36 | 37 |
public ValidationDaemon(){ |
37 |
super("Running validation daemon");
|
|
38 |
super(Messages.ValidationDaemon_RUNNING_DAEMON);
|
|
38 | 39 |
entityValidationService = CdmStore.getService(IEntityValidationService.class); |
39 | 40 |
} |
40 | 41 |
|
... | ... | |
67 | 68 |
markerManager.createMarkers(); |
68 | 69 |
Thread.sleep(SLEEP_TIME); |
69 | 70 |
} |
70 |
MessagingUtils.info("Validation module stopped");
|
|
71 |
MessagingUtils.info(Messages.ValidationDaemon_VALIDATION_STOPPED);
|
|
71 | 72 |
return Status.OK_STATUS; |
72 | 73 |
} |
73 | 74 |
catch (Throwable t) { |
74 |
MessagingUtils.info("Validation module terminated unexpectedly: " + t.getMessage());
|
|
75 |
MessagingUtils.info(Messages.ValidationDaemon_VALIDATION_EXCEPTION + t.getMessage());
|
|
75 | 76 |
return Status.CANCEL_STATUS; |
76 | 77 |
} |
77 | 78 |
} |
Also available in: Unified diff
ref #4611 some l10n for taxeditor and taxeditor.editor plugin