This line of code assigns the given text to, and throws the exception:
throw new IllegalArgumentException( "hour, minute, and/or second was out of range" );

This line of code catches exception,...