You need to sign in or sign up before continuing.×
Ad
  • Custom User Avatar

    Description has been updated in the meantime.

  • Custom User Avatar

    Wasted quite some time trying to figure out how to pass the error tests.
    If I didn't provide an Exception, the tests would demand an Exception.
    If I provided an Exception, the tests wouldn't even compile.
    Long story short, for Java, you must specifically provide an IllegalArgumentException (in some cases).
    If a specific type of exception is required, please put it in the description instead of making us guess, thank you.