- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 436 for throwing (0.09 sec)
-
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
// Both instances should be of the same class assertEquals(exception1.getClass(), exception2.getClass()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "SSO configuration error"; try { throw new SsoProcessException(expectedMessage); } catch (SsoProcessException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_throwAndCatch() { // Test throwing and catching the exception final String errorMessage = "Data store operation failed"; try { throw new DataStoreException(errorMessage); } catch (DataStoreException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* specified by the <code>UniAddress</code> parameter. If the credentials are * not accepted, an <code>SmbAuthException</code> will be thrown. If an error * occurs an <code>SmbException</code> will be thrown. If the credentials are * valid, the method will return without throwing an exception. See the * last <a href="../../../faq.html">FAQ</a> question. * <p>
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
assertEquals(rootCause, exception.getCause().getCause()); assertEquals("Root cause", exception.getCause().getCause().getMessage()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Job execution failed"; boolean exceptionCaught = false; try { throw new ScheduledJobException(expectedMessage);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
assertEquals(level1, level3.getCause().getCause()); assertEquals("Level 1", level3.getCause().getCause().getMessage()); } public void test_throwAndCatchException() { // Test throwing and catching the exception String expectedMessage = "Storage failure"; try { throw new StorageException(expectedMessage); } catch (StorageException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Assert assertFalse(it.hasNext(), "No next when opened with null initial"); verify(tree, times(1)).release(); // closed in constructor } @Test @DisplayName("open() throwing CIFSException triggers close and rethrow") void constructorOpenThrows() { // Arrange stubAcquireReturnsSelf();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_throwAndCatch() { // Test throwing and catching PluginException String expectedMessage = "Plugin loading failed"; try { throw new PluginException(expectedMessage); } catch (PluginException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
* <p> * The class under test is a simple wrapper around the base class that * sets internal fields in its constructor. * These tests verify that the constructor accepts various parameters * without throwing exceptions. */ @ExtendWith(MockitoExtension.class) class MsrpcSamrConnect2Test { // Helper method to create a minimal SamrPolicyHandle instance. private static SamrPolicyHandle createMockPolicyHandle() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/NullArgumentException.java
*/ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; /** * Exception thrown when an argument is null. * * Intended to be used instead of throwing {@link NullPointerException}. * * @author wyukawa */ public class NullArgumentException extends ClIllegalArgumentException { /** * */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
assertNotNull(exception); assertEquals(longMessage, exception.getMessage()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Theme loading error"; try { throw new ThemeException(expectedMessage); } catch (ThemeException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0)