Exception

// Some code
throw new IllegalArgumentException();
throw new NullPointerException("return value is null at method AAA");

Last updated