Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 747 for throws (0.08 sec)

  1. src/test/java/jcifs/tests/KerberosTest.java

            return ticket;
        }
    
    
        /**
         * @param principal
         * @return
         * @throws RealmException
         */
        protected static PrincipalName convertPrincipal ( KerberosPrincipal principal ) throws RealmException {
            PrincipalName principalName = new PrincipalName(
                principal.getName() + PrincipalName.NAME_REALM_SEPARATOR + principal.getRealm(),
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  2. 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          }
        }
      }
    
      @Test
      @Throws(Exception::class)
      fun compressedMessages() {
        successfulExtensions("permessage-deflate")
      }
    
      @Test
      @Throws(Exception::class)
      fun compressedMessagesNoClientContextTakeover() {
        successfulExtensions("permessage-deflate; client_no_context_takeover")
      }
    
      @Test
      @Throws(Exception::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/MoreFiles.java

       *
       * @throws NoSuchFileException if the file does not exist <i>(optional specific exception)</i>
       * @throws NotDirectoryException if the file could not be opened because it is not a directory
       *     <i>(optional specific exception)</i>
       * @throws IOException if an I/O error occurs
       */
      public static ImmutableList<Path> listFiles(Path dir) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/MoreFiles.java

       *
       * @throws NoSuchFileException if the file does not exist <i>(optional specific exception)</i>
       * @throws NotDirectoryException if the file could not be opened because it is not a directory
       *     <i>(optional specific exception)</i>
       * @throws IOException if an I/O error occurs
       */
      public static ImmutableList<Path> listFiles(Path dir) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if((read( tmp, 0, 4 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint32be( tmp, 0 );
        }
        public final long readLong() throws SmbException {
            if((read( tmp, 0, 8 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint64be( tmp, 0 );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testIndexOf_character() throws Exception {
            final char[] array = new char[] { 'a', 'b', 'c' };
            assertThat(ArrayUtil.indexOf(array, 'a'), is(0));
            assertThat(ArrayUtil.indexOf(array, 'd'), is(-1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemoveFirst() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
        assertEquals(STRING.length(), source.copyTo(builder));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        assertEquals(STRING, builder.toString());
      }
    
      public void testCopyTo_charSink() throws IOException {
        TestCharSink sink = new TestCharSink();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top