Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 3,054 for throws (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

       * response code like 404 or 500.
       *
       * @throws IOException if the request could not be executed due to cancellation, a connectivity
       *     problem or timeout. Because networks can fail during an exchange, it is possible that the
       *     remote server accepted the request before the failure.
       * @throws IllegalStateException when the call has already been executed.
       */
      @Throws(IOException::class)
      fun execute(): Response
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/TraverserTest.java

      @Test
      @SuppressWarnings("CheckReturnValue")
      public void forTree_acceptsDirectedGraph() throws Exception {
        MutableGraph<String> graph = GraphBuilder.directed().build();
        graph.putEdge("a", "b");
    
        Traverser.forTree(graph); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedGraph_throws() throws Exception {
        MutableGraph<String> graph = GraphBuilder.undirected().build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TraverserTest.java

      @Test
      @SuppressWarnings("CheckReturnValue")
      public void forTree_acceptsDirectedGraph() throws Exception {
        MutableGraph<String> graph = GraphBuilder.directed().build();
        graph.putEdge("a", "b");
    
        Traverser.forTree(graph); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedGraph_throws() throws Exception {
        MutableGraph<String> graph = GraphBuilder.undirected().build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        CaseInsensitiveMap<String> map;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            map = new CaseInsensitiveMap<String>();
            map.put("one", "1");
            map.put("two", "2");
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type1Message.java

        }
    
        private void parse(final byte[] material) throws IOException {
            int pos = 0;
            for (int i = 0; i < 8; i++) {
                if (material[i] != NTLMSSP_SIGNATURE[i]) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            pos += 8;
    
            if (readULong(material, pos) != NTLMSSP_TYPE1) {
                throw new IOException("Not a Type 1 message.");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            if (first.equals(TwoArg.Action.THROW_A_NPE)) {
              verifyBarPass(method, bar); // only pass if 1st param throws NPE
            } else {
              verifyBarFail(method, bar);
            }
          }
        }
      }
    
      public void testTwoArgNullableNormal() throws Exception {
        Method method = TwoArg.class.getMethod("nullableNormal", String.class, Integer.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

        }
    
        /**
         * Test constructor with a token that has an incorrect OID.
         *
         * @throws IOException if an I/O error occurs
         */
        @Test
        void testConstructorWithWrongOid() throws IOException {
            byte[] wrongOidToken = createGssApiWrapper(new ASN1ObjectIdentifier("1.2.3.4.5"), new byte[0]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        public void tearDown() throws IOException {}
      }
    
      private static class EmptyCharSourceFactory implements CharSourceFactory {
    
        @Override
        public CharSource createSource(String data) throws IOException {
          return CharSource.empty();
        }
    
        @Override
        public String getExpected(String data) {
          return "";
        }
    
        @Override
        public void tearDown() throws IOException {}
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

        /**
         *
         * @return this pipe's output stream
         * @throws CIFSException if an error occurs
         */
        @Override
        SmbPipeOutputStream getOutput() throws CIFSException;
    
        /**
         * Ensures that the tree connection is established and returns it.
         *
         * @return tree connection
         * @throws CIFSException if an error occurs connecting to the tree
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            @Test
            public void testGetPath() throws MalformedURLException {
                // Path should be the original, uncanonicalized URL
                String url = "smb1://server/share/../share/file.txt";
                SmbFile smbFile = new SmbFile(url);
                assertEquals(url, smbFile.getPath());
            }
    
            @Test
            public void testGetCanonicalPath() throws MalformedURLException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top