Description
ArgumentChecker has some convenience methods to perform validation on variables provided to methods to ensure that they meet certain requirements. ArgumentChecker works in that regard, but lacks some helpfulness like allowing the caller to provide an error message.
Guava's Preconditions class has a wide variety of methods that perform the same functionality and already have the error message support built in.
Attachments
Issue Links
- links to