Update java_agent.rb

Added an additional element for ignore_status_codes for ignore error section.