Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 447 for setMessage (0.06 sec)

  1. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    throw e;
                } catch (final Exception e) {
                    throw new SsoMessageException(
                            messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, e.getMessage()),
                            "Failed to process metadata.", e);
                }
            })
                    .orElseThrow(() -> new SsoMessageException(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
         * @return the message describing this problem, never {@code null}
         */
        @Nonnull
        String getMessage();
    
        /**
         * Gets the severity level of this problem.
         *
         * @return the severity level of this problem, never {@code null}
         */
        @Nonnull
        Severity getSeverity();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

                metadata.storeInLocalRepository(localRepo, localRepo);
                merged = true;
            } catch (Exception e) {
                throw new RepositoryException(e.getMessage(), e);
            }
        }
    
        @Override
        public boolean isMerged() {
            return merged;
        }
    
        @Override
        public String getGroupId() {
            return emptify(metadata.getGroupId());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        void parseThrowsOnNull() {
            TestSpnegoToken t = new TestSpnegoToken();
            IOException ex = assertThrows(IOException.class, () -> t.parse(null), "parse should throw IOException on null");
            assertTrue(ex.getMessage().toLowerCase().contains("null"));
        }
    
        @Test
        @DisplayName("toByteArray returns empty when no mechanismToken")
        void toByteArrayWhenNull() {
            TestSpnegoToken t = new TestSpnegoToken();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            for (Thread thread : threads) {
                try {
                    thread.join();
                } catch (InterruptedException e) {
                    fail("Thread interrupted: " + e.getMessage());
                }
            }
    
            // Verify all threads got the same instances
            for (int i = 0; i < threadCount; i++) {
                assertSame(invertibleCryptographer, invertibles[i]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                // Log the exception for debugging purposes but don't fail the test
                System.out.println("Expected exception in test environment: " + t.getClass().getSimpleName() + ": " + t.getMessage());
    
                // Verify that it's a system-related exception, not a method signature issue
                assertTrue("Exception should be system-related", t instanceof RuntimeException || t instanceof AssertionError
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
        Object listener = new Object();
        ExecutorService service = newFixedThreadPool(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
        Object listener = new Object();
        ExecutorService service = newFixedThreadPool(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    errors.add(new ProfileActivationException(req.getMessage(), req.getException()));
                }
            });
    
            if (!errors.isEmpty()) {
                throw errors.get(0);
            }
    
            return profiles;
        }
    
        /* (non-Javadoc)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            CIFSException exception = assertThrows(CIFSException.class, () -> {
                AvPairs.decode(avPairData);
            });
    
            assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception with correct message");
        }
    
        /**
         * Test decode with invalid EOL (non-zero length)
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top