vorburger opened a new pull request #728: throw exception with details in 
InteropServiceImpl (FINERACT-860)
URL: https://github.com/apache/fineract/pull/728
 
 
   instead of the NoSuchElementException from Optional.get(), we're now
   throwing an UnsupportedOperationException which includes the details of
   the missing object.  (This kind of detailed exception was already thrown
   in two existing places in the same code after a null check, but it never
   reached there, because the Optional.get() failed earlier.  Another
   option would have been to return null for an absent Optional, but this
   is better.)
   
   The other unrelated changes are automatic clean up actions (in Eclipse).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to