java.lang.Object
org.codelibs.saml2.core.util.Preconditions
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TcheckNotNull(T t, String message) Throws a IllegalArgumentException iftis null.
-
Method Details
-
checkNotNull
Throws a IllegalArgumentException iftis null.- Parameters:
t- the value to check for nullmessage- the message to include in the thrown exception- Returns:
- T
- Throws:
IllegalArgumentException- iftis null
-