org.sql.generation.api.common
Class NullArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sql.generation.api.common.NullArgumentException
- All Implemented Interfaces:
- Serializable
public class NullArgumentException
- extends RuntimeException
Pretty much copy of org.qi4j.api.util.NullArgumentException.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
validateNotNull
public static void validateNotNull(String parameterName,
Object object)
- Validates that passed object is not null.
- Parameters:
parameterName - The name of the parameter.object - The parameter.
- Throws:
NullArgumentException - If object is null.
Copyright © 2010-2012. All Rights Reserved.