public static void notNull ( final Object object , final String argumentName ) { if ( object == null ) { throw new NullPointerException ( getMessage ( "null" , argumentName ) ) ; } }
Validates that the supplied object is not null and throws a NullPointerException otherwise .