fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [fineract] vorburger opened a new pull request #728: throw exception with details in InteropServiceImpl (FINERACT-860)
Date Sun, 08 Mar 2020 23:54:21 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message