Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 519 for setMessage (0.05 sec)

  1. src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java

                assertEquals("transliteratorId must not be null", e.getMessage());
            }
        }
    
        public void test_invalidTransliteratorId() {
            try {
                new ICUNormalizer("Invalid-Transliterator-ID-12345");
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertTrue(e.getMessage().contains("Invalid transliterator ID"));
            }
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

      }
    
      public Set<Feature<?>> getConflicts() {
        return conflicts;
      }
    
      public Object getSource() {
        return source;
      }
    
      @Override
      public String getMessage() {
        return super.getMessage() + " (source: " + source + ")";
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

                saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
            } catch (final Exception e) {
                logger.warn("Failed to create user: username={}, error={}", body.name, e.getMessage(), e);
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            NullPointerException npe1 = assertThrows(NullPointerException.class, () -> filter.accept(null, "x"));
            assertTrue(npe1.getMessage().contains("non-null"));
    
            NullPointerException npe2 = assertThrows(NullPointerException.class, () -> filter.accept(mockDir, null));
            assertTrue(npe2.getMessage().contains("non-null"));
            verifyNoInteractions(mockDir);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            } catch (RuntimeException e) {
                assertEquals("Simulated processing error", e.getMessage());
                // If InputStream wasn't properly closed, this would leak resources
                // try-with-resources ensures cleanup happens
            } catch (IOException e) {
                fail("Should not throw IOException: " + e.getMessage());
            }
        }
    
        /**
         * Test resource content integrity.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlException.java

        /**
         * Constructs a new CurlException with the specified detail message and cause.
         *
         * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
         * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            // Act + Assert
            SmbException ex = assertThrows(SmbException.class, () -> tree.connectLogon(context));
            assertEquals("login failed", ex.getMessage());
            verify(tree).connectLogon(context);
        }
    
        @Test
        @DisplayName("send without params returns the stubbed response")
        void send_noParams_returnsResponse() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

         */
        @Test
        @DisplayName("Constructor 0 – NT_STATUS_SUCCESS")
        void testConstructorWithZeroCode() {
            SmbException ex = new SmbException(0, false);
            assertEquals("NT_STATUS_SUCCESS", ex.getMessage());
            assertEquals(0, ex.getNtStatus());
            assertNull(ex.getRootCause(), "root cause should be null for this ctor");
            assertEquals("jcifs.smb1.smb1.SmbException: NT_STATUS_SUCCESS", ex.toString());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginResolutionException.java

        private final Plugin plugin;
    
        public PluginResolutionException(Plugin plugin, Throwable cause) {
            super(
                    "Plugin " + plugin.getId() + " or one of its dependencies could not be resolved: " + cause.getMessage(),
                    cause);
            this.plugin = plugin;
        }
    
        public PluginResolutionException(Plugin plugin, List<Exception> exceptions, Throwable cause) {
            super(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top