code: public static boolean isKnownEOFException (@Nullable final Class <?> aClass)
    {
      if (aClass == null)
        return false;
  
      final String sClass = aClass.getName ();
      return sClass.equals ("java.io.EOFException") ||
             sClass.equals ("org.mortbay.jetty.EofException") ||
             sClass.equals ("org.eclipse.jetty.io.EofException") ||
             sClass.equals ("org.apache.catalina.connector.ClientAbortException");
    }
docs: Check if the passed class is a known EOF exception class.
  
  @param aClass
  The class to be checked. May be <code>null</code>.
  @return <code>true</code> if it is a known EOF exception class.