|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
| Class Summary | |
|---|---|
| LoggerUtils | A simple logging utility class that assists with logging messages by only created a formatted message string if the given log level is enabled and there is at least 1 message argument, and only invoking the actual log method if the given level is enabled. |
| StringUtils | A string utility class. |
| Validator | A simple validator intended to be a standalone validation class that takes advantage of JDK5+ features that ease common validation tasks (like error messages with arguments that don't get formatted into the message if the assertion doesn't fail), as well as being more configurable in terms of reacting to failed assertions (at present, we can throw a user-configuration runtime exception and/or log using built-in Java logging). |
| Exception Summary | |
|---|---|
| BaseRuntimeException |
A base runtime exception class that provides 2 additional conveniences: 1) it allows a variable number of arguments to
be given in addition to the message, which will be interpolated into the message if there is at least 1; 2) there are
overloaded constructors allowing for an array of Throwable instead of just a single
Throwable, which is useful when an exception may only be thrown at the end of a method, and multiple
underlying exceptions may be the cause of the end exception thrown. |
| ValidationException | A generic exception indicating some kind of validation failure, such as an invalid argument passed to a method. |
| Validator.ValidatorException | Exception only thrown in case of validator not behaving the way it is intended to behave -- i.e., this never indicates a failure on the part of the client. |
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||