Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 842 for IOException (0.05 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.com;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    import jcifs.internal.SmbNegotiationRequest;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.util.Strings;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (3)
  2. src/test/java/jcifs/SmbTransportPoolTest.java

            @Test
            @DisplayName("Should handle IOException")
            void testGetSmbTransportIOException() throws UnknownHostException, IOException {
                // Given
                when(transportPool.getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false))
                        .thenThrow(new IOException("Connection failed"));
    
                // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          currentThread.setName("Crawler " + url);
          try {
            fetch(url);
          } catch (IOException e) {
            System.out.printf("XXX: %s %s%n", url, e);
          } finally {
            currentThread.setName(originalName);
          }
        }
      }
    
      public void fetch(HttpUrl url) throws IOException {
        // Skip hosts that we've visited many times.
        AtomicInteger hostnameCount = new AtomicInteger();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.ByteArrayOutputStream;
    import java.io.DataOutputStream;
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.mylasta.direction;
    
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.IOException;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.Locale;
    import java.util.Map;
    
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.core.misc.DynamicProperties;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

         * @param directoryPath parent directory path
         * @param fileInfo cached file information
         * @return SmbFile instance
         * @throws IOException on error
         */
        private SmbFile createSmbFileFromCache(String directoryPath, DirectoryCacheEntry.FileInfo fileInfo) throws IOException {
            String filePath = directoryPath;
            if (!filePath.endsWith("/")) {
                filePath += "/";
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.TimeUnit;
    import okhttp3.Call;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.xml;
    
    import java.io.IOException;
    
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.io.ResourceUtil;
    import org.xml.sax.Attributes;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/BaseApiManager.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.api;
    
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    import java.io.PrintWriter;
    import java.util.Locale;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.fess.Constants;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

        public void test_differentCauseTypes() {
            // Test with different types of causes
            StorageException exception1 = new StorageException("IO Error", new java.io.IOException("File not found"));
            assertTrue(exception1.getCause() instanceof java.io.IOException);
    
            StorageException exception2 = new StorageException("NPE", new NullPointerException("Null reference"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top