public class Preconditions extends Object
Modifier and Type | Method and Description |
---|---|
static void |
checkArgumentNotNull(Object reference,
String argumentName)
Throws
IllegalArgumentException with an appropriate message if the reference is null. |
public static void checkArgumentNotNull(Object reference, String argumentName)
IllegalArgumentException
with an appropriate message if the reference is null.reference
- the reference to be checkedargumentName
- name of the argument that is being checked. The name used in the error message.Copyright © 2013 Seam Framework. All Rights Reserved.