Changeset 8017


Ignore:
Timestamp:
Nov 5, 2021, 10:14:27 AM (11 months ago)
Author:
Nicklas Nordborg
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.19-stable/src/core/net/sf/basedb/core/File.java

    r7889 r8017  
    5555import java.io.PipedInputStream;
    5656import java.io.PipedOutputStream;
     57import java.net.SocketTimeoutException;
    5758import java.net.URI;
    5859import java.net.URISyntaxException;
     
    10641065        if (cause instanceof InterruptedException || cause instanceof InterruptedIOException)
    10651066        {
    1066           Thread.currentThread().interrupt();
     1067          // Ignore timeouts
     1068          if (!(cause instanceof SocketTimeoutException))
     1069          {
     1070            Thread.currentThread().interrupt();
     1071          }
    10671072          break;
    10681073        }
    10691074        cause = cause.getCause();
    10701075      }
    1071       throw new BaseException("Could not load metadata for URL:" + data.getUrl(), ex);
     1076      throw new BaseException("Could not load metadata for URL: " + data.getUrl(), ex);
    10721077    }
    10731078  }
Note: See TracChangeset for help on using the changeset viewer.