Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 2,742 for throws (0.05 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        public void load(Reader reader) throws IOException {
            loadLayout(reader, false);
        }
    
        public void save() throws IOException {
            save(this.location);
        }
    
        public void save(Path location) throws IOException {
            try (OutputStream os = Files.newOutputStream(location)) {
                save(os);
            }
        }
    
        public void save(OutputStream os) throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

        return delegate().pollFirst(timeout, unit);
      }
    
      @Override
      @CheckForNull
      public E pollLast(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().pollLast(timeout, unit);
      }
    
      @Override
      public void put(E e) throws InterruptedException {
        delegate().put(e);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

     */
    public class ResourceTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachFile() throws Exception {
            final File rootDir = ResourceUtil.getBuildDir(getClass());
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

      @Synchronized fun writeSuccessCount(): Int = writeSuccessCount
    
      @Throws(IOException::class)
      fun size(): Long = cache.size()
    
      /** Max size of the cache (in bytes). */
      fun maxSize(): Long = cache.maxSize
    
      @Throws(IOException::class)
      override fun flush() {
        cache.flush()
      }
    
      @Throws(IOException::class)
      override fun close() {
        cache.close()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/IoTestCase.java

       */
      protected final File getTempDir() throws IOException {
        if (tempDir == null) {
          tempDir = createTempDir();
        }
    
        return tempDir;
      }
    
      /**
       * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will
       * be deleted in the tear-down for this test.
       */
      protected final File createTempFile() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/EnumTest.java

        // BUG #16
        public void testListCountRollover () throws IOException {
            testListCount(5, 4); // 4 + 2 (.,..) files
        }
    
    
        @Test
        // BUG #16
        public void testListCountExact () throws IOException {
            testListCount(5, 3); // 3 + 2 (.,..) files
        }
    
    
        @Test
        // BUG #16
        public void testListCountMoreThanTwo () throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetFirstEntry() throws Exception {
            assertThat(list.getFirstEntry(), is(nullValue()));
            list.addFirst("1");
            assertThat(list.getFirstEntry().getElement(), is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFirst() throws Exception {
            try {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       *     removed
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalArgumentException if {@code duration} is negative
       * @throws IllegalStateException if {@link #expireAfterWrite} was already set
       * @throws ArithmeticException for durations greater than +/- approximately 292 years
       * @since 33.3.0 (but since 25.0 in the JRE <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        @Override
        protected void startUp() throws Exception {
          assertEquals(0, startUpCalled);
          assertEquals(0, shutDownCalled);
          startUpCalled++;
          assertEquals(State.STARTING, state());
        }
    
        @Override
        protected void shutDown() throws Exception {
          assertEquals(1, startUpCalled);
          assertEquals(0, shutDownCalled);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/TempFileCreator.java

                + " see the Javadoc for Files.createTempDir().";
    
        @Override
        File createTempDir() {
          throw new IllegalStateException(MESSAGE);
        }
    
        @Override
        File createTempFile(String prefix) throws IOException {
          throw new IOException(MESSAGE);
        }
      }
    
      private TempFileCreator() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top