/** * Throw an {@link IllegalArgumentException} with a default message if the * object is null. * * @param object * @return object * @throws IllegalArgumentException */ public static <V> V notNull(final V object) throws IllegalArgumentException { return notNull(null, object); }