Package com.onelogin.saml2.util
Class Preconditions
java.lang.Object
com.onelogin.saml2.util.Preconditions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TcheckNotNull(T t, String message) Throws a NullPointerException iftis null.
-
Constructor Details
-
Preconditions
private Preconditions()
-
-
Method Details
-
checkNotNull
Throws a NullPointerException iftis null.- Parameters:
t- the value to check for nullmessage- the message to include in the thrown exception- Returns:
- T
- Throws:
NullPointerException- iftis null
-