public class ValidationUtils extends Object
Constructor and Description |
---|
ValidationUtils() |
public static <T> T assertNotNull(T object, String fieldName) throws IllegalStateException
object
- Object to assert onfieldName
- Field name to display in exception message if nullIllegalStateException
- if object was nullCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.