- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 220 for setMessage (0.17 sec)
-
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
QueryParseException queryParseException = new QueryParseException(parseException); assertEquals("org.apache.lucene.queryparser.classic.ParseException: " + errorMessage, queryParseException.getMessage()); } public void test_getCause() { // Test that the cause is properly set and retrievable ParseException parseException = new ParseException("Query parsing failed");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
assertTrue(exception instanceof Throwable); } public void test_getMessage() { // Test that getMessage returns null (no message set in constructor) UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); assertNull(exception.getMessage()); } public void test_getCause() { // Test that getCause returns null (no cause set in constructor)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
try { throw new Exception("Checked exception"); } catch (Exception e) { throw new RuntimeException("Wrapped: " + e.getMessage(), e); } } }; ComponentUtil.register(mockSearchLogHelper, "searchLogHelper"); // Execute the job String result = aggregateLogJob.execute();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
public void test_constructor() { // Test default constructor DictionaryExpiredException exception = new DictionaryExpiredException(); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_instanceOf() { // Test that exception is instance of RuntimeException
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java
*/ @Override public ActionResponse godHandPrologue(final ActionRuntime runtime) { if (!isAccessAllowed()) { return asJson(new ApiErrorResponse().message(getMessage(messages -> messages.addErrorsUnauthorizedRequest(GLOBAL))) .status(Status.UNAUTHORIZED) .result()); } return super.godHandPrologue(runtime); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java
* * @param cause * the cause */ public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) { super("ECL0105", new Object[] { cause.getMessage() }, cause); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
SignedBytes.checkedCast(value); fail("Cast to byte should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() { for (byte x : VALUES) { for (byte y : VALUES) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java
@Test public void testSIndexOutOfBoundsExceptionString() { final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException("hoge"); assertThat(clIndexOutOfBoundsException.getMessage(), is("hoge")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
dataStoreFactory.add(null, dataStore); fail("Should throw IllegalArgumentException"); } catch (IllegalArgumentException e) { assertEquals("name or dataStore is null.", e.getMessage()); } } // Test add method with null dataStore public void test_add_nullDataStore() { try { dataStoreFactory.add("testName", null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
* Exception. Must not be {@literal null}. */ public void log(final Throwable throwable) { assertArgumentNotNull("throwable", throwable); error(throwable.getMessage(), throwable); } /** * Outputs a log entry. * * @param messageCode * Message code. Must not be {@literal null} or empty string. * @param args
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 12.4K bytes - Viewed (0)