Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6991137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:27:18+00:00 2026-05-27T19:27:18+00:00

I am getting really annoyed with loads of IOExceptions from socket read calls due

  • 0

I am getting really annoyed with loads of IOExceptions from socket read calls due to network problems. Normally it simply means someone killed the child process or the network went down badly (VPN connection dropped etc).

My server cannot do anything but I really dont want to see all these errors in the log files. Is there any way in java to ignore these exceptions?

I know at the Windows msdn level its a WSAENETRESET error so why do all errors get handled into a generic IOException and not an ConnectionResetException.

Having a connection reset by peer is something which is very generic and standard.

I cant find out if the exception message will appear localised on different Windows OS locales either.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:27:18+00:00Added an answer on May 27, 2026 at 7:27 pm

    You could use the getMessage() method to see if the exception message is something of the sort:

    Connection reset by peer

    This should not return a localized version of the error message. That seems to be done by the getLocalizedMessage().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is really getting to me now.I have a form that loads when the
I'm getting some really wierd linking errors from a class I wrote. I am
Im getting really lost on how to use HttpContext.User. I read everywhere that its
So I'm getting really sick of E*TRADE and, being a developer, would love to
What are some options for getting really fast 'Find in Files' searching in VIM?
[Meta-note:] I was browsing the question page, getting really tired of DIVS vs Tables
Not really getting the point of the map function. Can anyone explain with examples
I'm getting a really strange error when making a method call: /* input.cpp */
Sorry if this is a really basic question but it's been really getting to
I'm writing a Python wrapper for a C++ library, and I'm getting a really

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.