- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 2,324 for exception (0.12 sec)
-
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
@Test @DisplayName("Default constructor should create exception with null message and cause") void testDefaultConstructor() { // Given & When CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(); // Then assertNull(exception.getMessage(), "Default constructor should have null message"); assertNull(exception.getCause(), "Default constructor should have null cause");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
} /** * Sets the uncaught exception handler for this IndexUpdater thread. * * @param eh the uncaught exception handler to set */ @Override public void setUncaughtExceptionHandler(final UncaughtExceptionHandler eh) { super.setUncaughtExceptionHandler(eh); } /** * Sets the default uncaught exception handler for all threads. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; import org.codelibs.fess.crawler.exception.CrawlingAccessException; /** * Exception thrown when an error occurs during data store crawling operations. * This exception provides information about the URL where the error occurred * and whether the crawling process should be aborted. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
} /** * Test exception handling during cleanup */ @Test @Timeout(5) public void testExceptionHandling() throws Exception { SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Configure transport to throw exception on release Mockito.doThrow(new RuntimeException("Test exception")).when(mockTransport).release();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
try { validator.initialize(annotation); assertTrue("Initialize should complete without exception", true); } catch (final Exception e) { fail("Initialize should not throw exception with valid annotation: " + e.getMessage()); } } // Test parameter validation without relying on complex configuration
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/jcifs/util/PathValidatorTest.java
assertThrows(SmbException.class, () -> { strictValidator.validatePath("\\share\\file<script>.txt"); }); } @Test public void testTrailingSpace() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath("\\share\\file "); }); } @Test public void testTrailingPeriod() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
} public void test_constructor_withServletExceptionWithCause() { // Create a root cause exception String rootCauseMessage = "Root cause error"; Exception rootCause = new Exception(rootCauseMessage); // Create a ServletException with the root cause String servletErrorMessage = "Servlet error with cause";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
@Test void testNoArgsConstructor() { // Test the constructor with no arguments RequestTimeoutException exception = new RequestTimeoutException(); assertNull(exception.getMessage(), "Message should be null for no-arg constructor"); assertNull(exception.getCause(), "Cause should be null for no-arg constructor"); } @Test void testMessageConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/InvalidQueryException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; import org.codelibs.fess.mylasta.action.FessMessages; import org.lastaflute.web.validation.VaMessenger; /** * Exception thrown when an invalid query is encountered. * This exception is typically used in search contexts where a provided * query is malformed, contains invalid syntax, or violates query constraints.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
ComponentUtil.register(new MockRoleQueryHelper(), "roleQueryHelper"); } public void test_init() { try { labelTypeHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_load() { int result = labelTypeHelper.load(); assertTrue(result >= 0); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.4K bytes - Viewed (0)