public static void checkNotNull ( Object value , String message , Object ... args ) { if ( value == null ) { throw new NullPointerException ( String . format ( message , args ) ) ; } }
Validates that an argument is not null .