esa / CCSDS_MO_TRANS

REPOSITORY ARCHIVED - for the latest version please go to https://github.com/esa/mo-services-java
Other
3 stars 7 forks source link

Better error reporting #6

Closed SamCooper closed 8 years ago

SamCooper commented 8 years ago

It would be helpful to put out a message when the message decoder cannot locate either the correct operation definition or the correct body type , starting here:

https://github.com/esa/CCSDS_MO_TRANS/blob/master/CCSDS_MAL_TRANSPORT_GEN/src/main/java/esa/mo/mal/transport/gen/body/GENMessageBody.java#L379

Probably something like "Unknown operation received [area, service, version, op] : Have you remembered to initialise all your area/service helpers?"

Same with when you can't find the correct body type factory.

SamCooper commented 8 years ago

Fixed