Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 2,773 for throwIt (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

         */
        protected Metadata readMetadata(File mappingFile) throws RepositoryMetadataReadException {
    
            try (InputStream in = Files.newInputStream(mappingFile.toPath())) {
                return new Metadata(new MetadataStaxReader().read(in, false));
            } catch (FileNotFoundException e) {
                throw new RepositoryMetadataReadException("Cannot read metadata from '" + mappingFile + "'", e);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          }
        }
      }
    
      @Throws(UnknownHostException::class)
      private fun throwBestFailure(
        hostname: String,
        failures: List<Exception>,
      ): List<InetAddress> {
        if (failures.isEmpty()) {
          throw UnknownHostException(hostname)
        }
    
        val failure = failures[0]
    
        if (failure is UnknownHostException) {
          throw failure
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        if (isDone()) {
          throw new TimeoutException(message + " but future completed as timeout expired");
        }
        throw new TimeoutException(message + " for " + futureToString);
      }
    
      @ParametricNullness
      @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |.
      final V blockingGet() throws InterruptedException, ExecutionException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

    public class FessLabelsTest extends UnitFessTestCase {
    
        private FessLabels fessLabels;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            fessLabels = new FessLabels();
        }
    
        /**
         * Test that assertPropertyNotNull throws exception for null input
         */
        public void test_assertPropertyNotNull_withNull() {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        public void test_FilePurgeVisitor_visitFileFailed() throws IOException {
            // Test that visitFileFailed doesn't throw exception
            // This is primarily a logging method, so we just verify no exception
            assertTrue(true);
        }
    
        // Test FilePurgeVisitor postVisitDirectory
        public void test_FilePurgeVisitor_postVisitDirectory() throws IOException {
            // Test empty directory deletion logic
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

        for (int i = 0; i < reps; ++i) {
          if (javaImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void longEqualUnsafe(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (unsafeImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void diffLastJava(int reps) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)},
       * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}.
       */
      ALLOWS_NULL_KEY_QUERIES,
      ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES),
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

        @Test
        @DisplayName("Test decode throws exception when length is too short")
        void testDecodeThrowsExceptionWhenLengthTooShort() {
            byte[] buffer = new byte[28];
    
            // Test with len = 23 (one byte too short)
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23),
                    "Should throw exception when length < 24");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

         * One is for releases, the other for snapshots.
         * ]]></usage>
         * </expression>
         * <expressions>
         *
         * @throws IOException
         * @throws XmlPullParserException
         */
        private static Map<String, Expression> parseExpressionDocumentation(InputStream docStream)
                throws IOException, XmlPullParserException {
            ParamdocXpp3Reader paramdocReader = new ParamdocXpp3Reader();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top