Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,593 for scratch (0.06 seconds)

  1. src/main/java/org/codelibs/core/lang/ClassUtil.java

            assertArgumentNotNull("clazz", clazz);
    
            try {
                return clazz.newInstance();
            } catch (final InstantiationException e) {
                throw new InstantiationRuntimeException(clazz, e);
            } catch (final IllegalAccessException e) {
                throw new IllegalAccessRuntimeException(clazz, e);
            }
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            } catch (IllegalArgumentException e) {
                // Expected
                assertTrue(e.getMessage().contains("INVALID"));
            }
    
            try {
                CrawlerStatus.valueOf("initializing"); // lowercase
                fail("Should throw IllegalArgumentException for lowercase value");
            } catch (IllegalArgumentException e) {
                // Expected
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Sep 03 14:42:53 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java

            } catch (InvalidVersionSpecificationException e) {
                throw new IllegalArgumentException("Invalid 'requiredJavaVersion' given in plugin descriptor", e);
            }
            Version current;
            try {
                current = versionScheme.parseVersion(currentVersion);
            } catch (InvalidVersionSpecificationException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode));
              assertTrue(isInBounds);
            } catch (ArithmeticException e) {
              assertFalse(isInBounds);
            }
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode)
      public void testRoundFractionalDoubleToInt() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 27.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/HMACT64.java

            }
            for (int i = length; i < BLOCK_LENGTH; i++) {
                ipad[i] = IPAD;
                opad[i] = OPAD;
            }
            try {
                md5 = MessageDigest.getInstance("MD5");
            } catch (final Exception ex) {
                throw new IllegalStateException(ex.getMessage());
            }
            engineReset();
        }
    
        private HMACT64(final HMACT64 hmac) throws CloneNotSupportedException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

          this.everyMillis = everyMillis;
          this.interruptee = interruptee;
        }
    
        @Override
        public void run() {
          while (true) {
            try {
              Thread.sleep(everyMillis);
            } catch (InterruptedException e) {
              // ok. just stop sleeping.
            }
            if (shouldStop) {
              break;
            }
            interruptee.interrupt();
          }
        }
    
        void stopInterrupting() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

                } catch (IOException e) {
                    System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
                } finally {
                    try {
                        if(mavenWrapperPropertyFileInputStream != null) {
                            mavenWrapperPropertyFileInputStream.close();
                        }
                    } catch (IOException e) {
                        // Ignore ...
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

                conn.connect();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("endpoint is blank"));
            }
    
            // Second call should also fail with the same error
            try {
                conn.connect();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("endpoint is blank"));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                    if (StringUtil.isNotBlank(region)) {
                        builder.region(region);
                    }
                    minioClient = builder.build();
                    connected = true;
                } catch (final Exception e) {
                    throw new IOException("Failed to create MinioClient.", e);
                }
            }
    
            /**
             * Gets an input stream to read from the storage object.
             *
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:52:56 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

                Files.createDirectories(resumeProperties.getParent());
                try (Writer writer = Files.newBufferedWriter(resumeProperties)) {
                    properties.store(writer, null);
                }
            } catch (IOException e) {
                String message = "Could not create " + RESUME_PROPERTIES_FILENAME + " file.";
                throw new BuildResumptionPersistenceException(message, e);
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top