| Summary: | Fail faster when publishing disallowed services | ||
|---|---|---|---|
| Product: | [RT] Riena | Reporter: | Stephan Mann <stephan.mann> |
| Component: | communication | Assignee: | Project Inbox <riena.core-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Stefan.Liebig |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Stephan Mann
Just to clarify: I'm using org.eclipse.riena.communication.publisher.Publish to publish the service which, as far as I know, is the recommended way to do this in Riena. I would expect a RuntimeException if Publish fails. It is true that I can't really handle this exception but the error would be much more prominent. There is already the method assertServiceConstraints() within the RemoteServiceDescription class, which is not activated (not yet called). This method throws a RemoteFailure when conflicts are detected. The statements calling this method are all in comments. Maybe this would solve this issue? |