public final class Contracts extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assertNotNull(Object param,
String message)
Asserts that the given parameter is not
null. |
public static void assertNotNull(Object param, String message)
null.param - the parameter to check.message - the exception message used if the parameter to check is null.NullPointerException - if the given parameter is null.Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.