java.lang.Object
xyz.ronella.trivial.handy.Require
A handy class for requiring objects.
- Since:
- 2.3.0
-
Method Summary
-
Method Details
-
all
Deprecated.Use the objects method instead.A method that checks if all the parameters were not null.- Parameters:
param- The required first parameter to check.params- The other parameters to check.- Throws:
RequireAllException- This will be thrown when at least one of the parameters has thrown an NPE.
-
objects
The method that checks if all the objects were not null.- Parameters:
obj- The required first obj to check.objs- The other objects to check.- Throws:
RequireAllException- This will be thrown when at least one of the parameters has thrown an NPE.- Since:
- 2.5.0
-