Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,955 for rethrow (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

            ProjectBuildList projectBuilds = null;
            MavenExecutionResult result = session.getResult();
    
            try {
                if (buildExecutionRequiresProject(session) && projectIsNotPresent(session)) {
                    throw new MissingProjectException("The goal you specified requires a project to execute"
                            + " but there is no POM in this directory (" + session.getExecutionRootDirectory() + ")."
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

         * <p>
         * Example usage:
         * </p>
         * <pre>
         * Path baseDir = Paths.get("/var/app/data");
         * Path userPath = Paths.get(userInput);
         * if (!FileUtil.isPathSafe(userPath, baseDir)) {
         *     throw new SecurityException("Path traversal attempt detected");
         * }
         * </pre>
         *
         * @param pathToCheck the path to validate (must not be {@literal null})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsVisioExtractor.java

         * @param params The parameters.
         * @return The extracted data.
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("Microsoft Visio input stream is null. Cannot extract text from null input.");
            }
            try {
                @SuppressWarnings("resource")
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            try {
                conn.connect();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank"));
            }
    
            // Second call should also fail with the same error
            try {
                conn.connect();
                fail("Should throw IOException");
            } catch (IOException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    getLogger().error(message);
                    fw.println(message);
                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            throw new GradleException("Documentation assertion failed: found invalid internal links. See " + new org.gradle.internal.logging.ConsoleRenderer().asClickableFileUrl(reportFile));
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

        assertEquals(
            "computeIfAbsent(present, function) should return existing value",
            v0(),
            getMap()
                .computeIfAbsent(
                    k0(),
                    k -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfAbsent_functionReturnsNullNotInserted() {
        assertNull(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/eventbus/Subscriber.java

        } catch (IllegalArgumentException e) {
          throw new Error("Method rejected target/argument: " + event, e);
        } catch (IllegalAccessException e) {
          throw new Error("Method became inaccessible: " + event, e);
        } catch (InvocationTargetException e) {
          if (e.getCause() instanceof Error) {
            throw (Error) e.getCause();
          }
          throw e;
        }
      }
    
      /** Gets the context for the given event. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacMac.java

                    if (key == null) {
                        throw new PACDecodingException("Missing key");
                    }
                    return calculateMacArcfourHMACMD5(usage, key, data);
                } else {
                    if ((type != PacSignature.HMAC_SHA1_96_AES128) && (type != PacSignature.HMAC_SHA1_96_AES256)) {
                        throw new PACDecodingException("Invalid MAC algorithm");
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            validateIdentity();
        }
    
        private void validateIdentity() {
            if (empty(groupId)) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The groupId cannot be empty.");
            }
    
            if (empty(artifactId)) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The artifactId cannot be empty.");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. 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: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top