Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 3,054 for throws (0.38 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * null will be returned.
       *
       * @throws ParameterNotInstantiableException if the static methods cannot be invoked because the
       *     default value of a parameter cannot be determined.
       * @throws IllegalAccessException if the class isn't public or is nested inside a non-public
       *     class, preventing its methods from being accessible.
       * @throws InvocationTargetException if a static method threw exception.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    
      private static Runnable runnableThrowing(RuntimeException e) {
        return new Runnable() {
          @Override
          public void run() {
            throw e;
          }
        };
      }
    
      @SuppressWarnings("serial")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetBundle() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null, this.getClass().getClassLoader());
            assertThat(bundle, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetString() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java

    class SmbFilenameFilterTest {
    
        @Test
        void acceptReturnsTrueWhenNameMatches() throws Exception {
            SmbFile dir = Mockito.mock(SmbFile.class);
            SmbFilenameFilter filter = (d, n) -> n.equalsIgnoreCase("hello.txt");
            assertTrue(filter.accept(dir, "Hello.TXT"));
        }
    
        @Test
        void acceptReturnsFalseWhenNameDoesNotMatch() throws Exception {
            SmbFile dir = Mockito.mock(SmbFile.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          monitor.leave();
        }
      }
    
      /**
       * @throws UnsupportedOperationException {@inheritDoc}
       * @throws ClassCastException {@inheritDoc}
       * @throws NullPointerException {@inheritDoc}
       * @throws IllegalArgumentException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      public int drainTo(Collection<? super E> c) {
        if (c == null) throw new NullPointerException();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(this.entry_path, 1);
    
                if (this.entry_path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.entry_path);
    
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             * @throws IllegalArgumentException If the arguments are invalid
             * @throws InsufficientDataException If insufficient data is available
             * @throws InternalException If an internal error occurs
             * @throws InvalidResponseException If the response is invalid
             * @throws NoSuchAlgorithmException If the algorithm is not available
             * @throws XmlParserException If XML parsing fails
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            getProperties().store(out, comments);
        }
    
        @Override
        public void store(final Writer writer, final String comments) throws IOException {
            getProperties().store(writer, comments);
        }
    
        @Override
        public void storeToXML(final OutputStream os, final String comment, final String encoding) throws IOException {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/DefaultArtifactRepositoryFactory.java

        @Override
        public ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException {
            return repositoryLayouts.get(layoutId);
        }
    
        @Override
        public ArtifactRepository createDeploymentArtifactRepository(
                String id, String url, String layoutId, boolean uniqueVersion) throws UnknownRepositoryLayoutException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            DcerpcException thrown = assertThrows(DcerpcException.class, () -> {
                dcerpcBinding.setOption("endpoint", endpoint);
            }, "Should throw DcerpcException for invalid endpoint format.");
    
            assertTrue(thrown.getMessage().contains("Bad endpoint"), "Exception message should indicate a bad endpoint.");
        }
    
        @Test
        void testSetOptionOtherKey() throws DcerpcException {
    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