Removal of NET_ThrowByNameWithLastError?

Matthew Hall mhall at mhcomputing.net
Thu Aug 4 17:19:12 UTC 2016


On Thu, Aug 04, 2016 at 10:15:38AM +0000, Langer, Christoph wrote:
> To sum it up: The only added value of NET_ThrowByNameWithLastError is that 
> there could be cases where you might see an error number value - though I 
> think this is very unlikely to happen. But if you say this is valuable I 
> suggest to add this error number fallback to JNU_ThrowByNameWithLastError in 
> common.

Seeing a string version of an errno using strerror() is very helpful for 
debugging bizarre issues in code.

But seeing numeric versions or having it almost never get never used and/or 
hidden is completely unhelpful indeed.

Matthew.


More information about the net-dev mailing list