Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,967 for throws (0.17 sec)

  1. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestEventSerializer.java

            /**
             * Serializes the exception thrown by the test and also writes the exception type so that if there is a failure recreating the exception, we can at least
             * provide the user with some information about what type of exception was thrown.
             */
            private void writeThrowableWithType(Encoder encoder, DefaultTestFailure value, Throwable rawFailure) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

    
        protected abstract long makeKey ( Request request ) throws IOException;
    
    
        protected abstract Long peekKey () throws IOException;
    
    
        protected abstract void doSend ( Request request ) throws IOException;
    
    
        protected abstract void doRecv ( Response response ) throws IOException;
    
    
        protected abstract void doSkip ( Long key ) throws IOException;
    
    
        /**
         * 
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        final int throwAfterCount;
        final RuntimeException thrown;
        int count;
    
        ThrowingRunnable(int throwAfterCount, RuntimeException thrown) {
          this.throwAfterCount = throwAfterCount;
          this.thrown = thrown;
        }
    
        @Override
        public void run() {
          if (++count >= throwAfterCount) {
            throw thrown;
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      public void testScanFromFile_notJarFile() throws IOException {
        ClassLoader classLoader = ClassPathTest.class.getClassLoader();
        File notJar = File.createTempFile("not_a_jar", "txt");
        try {
          assertThat(new ClassPath.LocationInfo(notJar, classLoader).scanResources()).isEmpty();
        } finally {
          notJar.delete();
        }
      }
    
      public void testGetClassPathEntry() throws MalformedURLException, URISyntaxException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyBeanToBean_whitespace() throws Exception {
            final SrcBean src = new SrcBean();
            src.ccc = " ";
            final DestBean dest = new DestBean();
            BeanUtil.copyBeanToBean(src, dest);
            assertThat(dest.ccc, is(" "));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                }
            }
            throw new IOException();
        }
    
    
        /**
         * @param msg
         * @param in
         * @param off
         * @param isDirect
         * @return
         * @throws IOException
         * @throws DcerpcException
         * @throws NdrException
         */
        private byte[] receiveMoreFragments ( DcerpcMessage msg, byte[] in ) throws IOException, DcerpcException, NdrException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMultiset.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final int setCount(E element, int count) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/ReadWriteTest.java

        }
    
    
        @Test
        public void test () throws IOException {
            runReadWriteTest(4096, 4 * 4096);
        }
    
    
        @Test
        public void testExactWrite () throws IOException {
            runReadWriteTest(4096, 4096);
        }
    
    
        @Test
        public void testSmallWrite () throws IOException {
            runReadWriteTest(4096, 1013);
        }
    
    
        @Test
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

         * 
         * @throws CIFSException
         */
        public void open () throws CIFSException {
            try ( SmbFileHandleImpl fh = ensureOpen() ) {}
        }
    
    
        /**
         * @param file
         * @param openFlags
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
Back to top