|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
ArgumentValidation | |
ConfigurationManager |
Each class with public methods / constructors, should check it's incoming arguments (the preconditions).
Doing this can be quite cumbersome
and many times you're doing the same things over and over again. Keeping the output texts similar and nice
formated is already a task on it's own. An other thing which mostly is not done, check all the arguments and
their needed conditions, before actually throwing the IllegalArgumentException. If a String value needs to
be within a certain collection, an error will be shown contain the possible values if the given value was not
within the collection.
Some of the supported argument checks are:
ArgumentValidation
.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |