- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 2,205 for exceptions (0.06 sec)
-
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception { // Make sure we have no waiting threads. latch.countDown(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SMBSignatureValidationException.java
*/ package jcifs.smb; /** * Exception thrown when SMB message signature validation fails. * Indicates that the integrity of an SMB message could not be verified. * * @author mbechler * */ public class SMBSignatureValidationException extends SmbException { /** * Default constructor for SMB signature validation exception. */ public SMBSignatureValidationException() { }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K 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/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/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/pac/PacCredentialTypeTest.java
* Tests the constructor with a null byte array, which should throw an exception. */ @Test void testConstructorWithNullData() { // A null byte array should cause a PACDecodingException. PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null)); assertEquals("Invalid PAC credential type", exception.getMessage()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K 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/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/thumbnail/impl/CommandGeneratorTest.java
@Override public void setUp() throws Exception { super.setUp(); generator = new CommandGenerator(); } // Basic setter tests public void test_setCommandTimeout() throws Exception { final long timeout = 5000L; generator.setCommandTimeout(timeout); assertTrue(true); } public void test_setCommandDestroyTimeout() throws Exception { final long timeout = 2000L;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K 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)