Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 598 for setMessage (0.59 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

                } catch (InvalidVersionSpecificationException e) {
                    throw new ProfileActivationException(
                            "Invalid JDK version in profile '" + profile.getId() + "': " + e.getMessage());
                }
            }
    
            boolean reverse = false;
    
            if (jdk.startsWith("!")) {
                reverse = true;
                jdk = jdk.substring(1);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

            writer.println();
    
            for (Problem problem : problems) {
                writer.print("[");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                String location = problem.getLocation();
                if (!location.isEmpty()) {
                    writer.print(" @ ");
                    writer.print(location);
                }
                writer.println();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            try {
                queryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException for non-phrase query");
            } catch (InvalidQueryException e) {
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        @Test
        public void test_convertPhraseQuery_emptyTerms() {
            // Test with empty phrase query - should throw InvalidQueryException
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/SmbCircuitBreaker.java

                transitionTo(State.OPEN);
            } else if (currentState == State.CLOSED) {
                int failures = failureCount.incrementAndGet();
                int currentThreshold = this.failureThreshold;
                log.debug("[{}] Failure in CLOSED state ({}/{}): {}", name, failures, currentThreshold, e.getMessage());
    
                if (failures >= currentThreshold) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                assertTrue("Exception should be DictionaryException", e instanceof DictionaryException);
                assertTrue("Message should mention userDict file",
                        e.getMessage().contains("userDict") || e.getMessage().contains("Failed to write"));
            } finally {
                // Ensure proper cleanup
                if (updater != null) {
                    try {
                        updater.close();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleRepositoryListener.java

        @Override
        public void artifactDescriptorInvalid(RepositoryEvent event) {
            println(
                    "artifactDescriptorInvalid",
                    "for " + event.getArtifact() + ": " + event.getException().getMessage());
        }
    
        @Override
        public void artifactDescriptorMissing(RepositoryEvent event) {
            println("artifactDescriptorMissing", "for " + event.getArtifact());
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/Slf4jMavenTransferListener.java

            TransferResource resource = event.getResource();
            out.warn(
                    "{} from {} for {}{}",
                    event.getException().getMessage(),
                    resource.getRepositoryId(),
                    resource.getRepositoryUrl(),
                    resource.getResourceName());
        }
    
        @Override
        public void transferSucceeded(TransferEvent event) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         *            The cause of the exception
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(MessageFormatter.getMessage(messageCode, args), cause);
            this.argName = argName;
            this.messageCode = messageCode;
            this.args = args;
        }
    
        /**
         * Returns the name of the argument.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

            this.children = (children != null) ? Collections.unmodifiableList(children) : Collections.emptyList();
        }
    
        public Throwable getException() {
            return exception;
        }
    
        public String getMessage() {
            return message;
        }
    
        public String getReference() {
            return reference;
        }
    
        public List<ExceptionSummary> getChildren() {
            return children;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

                fail("Expected an exception for empty field name");
            } catch (IllegalArgumentException e) {
                // Expected exception for empty field name
                assertTrue(e.getMessage().contains("field name is null or empty"));
            }
    
            // Assert deleteByQuery was NOT called due to exception in query building
            assertFalse(deleteByQueryCalled);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
Back to Top