public class NullArgumentException extends RuntimeException
| Modifier and Type | Method and Description |
|---|---|
static void |
validateNotNull(String parameterName,
Object object)
Validates that passed object is not null.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static void validateNotNull(String parameterName, Object object)
parameterName - The name of the parameter.object - The parameter.NullArgumentException - If object is null.Copyright © 2010-2012. All Rights Reserved.