Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1561 - 1570 of 1,628 for rethrow (0.07 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      public void testParentChild() {
        InternetDomainName origin = InternetDomainName.from("foo.com");
        InternetDomainName parent = origin.parent();
        assertEquals("com", parent.toString());
    
        // These would throw an exception if leniency were not preserved during parent() and child()
        // calls.
        InternetDomainName child = parent.child(LOTS_OF_DELTAS);
        InternetDomainName unused = child.child(LOTS_OF_DELTAS);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        public File getMultiModuleProjectDirectory() {
            return multiModuleProjectDirectory;
        }
    
        @Override
        public Path getRootDirectory() {
            if (rootDirectory == null) {
                throw new IllegalStateException(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE);
            }
            return rootDirectory;
        }
    
        @Override
        public MavenExecutionRequest setRootDirectory(Path rootDirectory) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesTest.java

            assertFalse(from.exists());
            assertTrue(to.exists());
          } else {
            fail("expected exception");
          }
        } catch (IOException possiblyExpected) {
          if (success) {
            throw possiblyExpected;
          }
        }
      }
    
      private static class UnmovableFile extends File {
    
        private final boolean canRename;
        private final boolean canDelete;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

        private final AtomicBoolean closed = new AtomicBoolean(false);
    
        public RepositorySystemSupplier() {}
    
        private void checkClosed() {
            if (closed.get()) {
                throw new IllegalStateException("Supplier is closed");
            }
        }
    
        private PathProcessor pathProcessor;
    
        public final PathProcessor getPathProcessor() {
            checkClosed();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        }
    
        fun processNextFrame(): Boolean {
          taskFaker.runTasks()
          return webSocket!!.processNextFrame()
        }
    
        override fun close() {
          if (closed) {
            throw AssertionError("Already closed")
          }
          try {
            source.close()
          } catch (ignored: IOException) {
          }
          try {
            sink.close()
          } catch (ignored: IOException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

         */
        long getDfsTtl ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.dfs.strictView</tt> (boolean, default false)
         * 
         * @return whether a authentication failure during DFS resolving will throw an exception
         */
        boolean isDfsStrictView ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.dfs.disabled</tt> (boolean, default false)
         * 
         * @return whether DFS lookup is disabled
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Crc32cHashFunction.java

        private int crc1 = 0;
        private int crc2 = 0;
        private int crc3 = 0;
    
        @Override
        protected void process(ByteBuffer bb) {
          if (finished) {
            throw new IllegalStateException(
                "The behavior of calling any method after calling hash() is undefined.");
          }
          while (bb.remaining() >= 16) {
            crc0 = computeForWord(crc0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

                }
    
                try {
                  method.delete(dirToDelete);
                } catch (FileSystemException expected) {
                  // the delete method may or may not throw an exception, but if it does that's fine
                  // and expected
                }
    
                // this test is mainly checking that the contents of /dontdelete aren't deleted under
                // any circumstances
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     * multiple routes to be attempted simultaneously.
     *
     * Events and sequences of events may be repeated for retries and follow-ups.
     *
     * All event methods must execute fast, without external locking, cannot throw exceptions, attempt
     * to mutate the event parameters, or be re-entrant back into the client. Any IO - writing to files
     * or network should be done asynchronously.
     */
    abstract class EventListener {
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/MediaTypeTest.java

                  @Override
                  public MediaType apply(Field input) {
                    try {
                      return (MediaType) input.get(null);
                    } catch (Exception e) {
                      throw new RuntimeException(e);
                    }
                  }
                });
      }
    
      public void testCreate_invalidType() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top