public final class Validator extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
validate(Object parameter)
Validates a user provided required parameter to be not null.
|
public static void validate(Object parameter)
IllegalArgumentException is thrown if a property fails the validation.parameter - the parameter to validateIllegalArgumentException - thrown when the Validator determines the argument is invalidCopyright © 2019. All rights reserved.