Closed gavin-norman-sociomantic closed 6 years ago
The returned exception is intended to always be thrown, and it would be a bug, really, if the caller did not do so. Therefore, making the method throw directly simplifies usage and removes one vector for bugs.
The returned exception is intended to always be thrown, and it would be a bug, really, if the caller did not do so. Therefore, making the method throw directly simplifies usage and removes one vector for bugs.