java.lang.Object
dev.eidentification.bankid.internal.Precondition
-
Method Summary
-
Method Details
-
nonNull
Checks if the provided subject is not null. If it is null, a NullPointerException is thrown with the message provided by the messageSupplier.- Type Parameters:
T
- the type of the subject- Parameters:
subject
- the subject to check for nullmessageSupplier
- a supplier for the exception message- Throws:
NullPointerException
- if the subject is null
-