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

Meaningful error message for null in non-nullable fields #22

Closed CesarCoelho closed 7 years ago

CesarCoelho commented 7 years ago

The code hits a null pointer exception when it tries to encode a null value in non-nullable field. This is ok but the error message should be clear. The proposed change improves this.

SamCooper commented 7 years ago

I'm implementing this for each encode method