The document contains code for a Throwing class that gets integer input from the user. It uses try/catch blocks to handle exceptions. In the first code block, it catches InputMismatchException and throws an IllegalArgumentException. In the second code block, it changes the catch block to catch IOException instead of IllegalArgumentException and changes the thrown exception accordingly. Both code blocks prompt the user for an integer, catch invalid input, and print an error message.