- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 2,867 for exception (0.09 sec)
-
README.md
``` ### Exception Handling ```java import org.codelibs.core.exception.*; // Runtime exception wrappers eliminate try-catch boilerplate try { // Code that might throw checked exceptions return ClassUtil.newInstance(className); // Wraps checked exceptions automatically } catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exceptionRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Wait for completion for (Thread t : threads) { t.join(); } // Verify thread safety - no unexpected exceptions assertEquals(0, exceptionCount.get(), "Should not have unexpected exceptions"); // At least some threads should complete successfully assertTrue(successfulThreads.get() > 0, "At least some threads should complete successfully");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/FessSystemException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * System exception class for the Fess search engine. * This exception is thrown when system-level errors occur in the Fess application, * such as configuration errors, initialization failures, or critical runtime issues. */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
} /** * @throws Exception */ public void testIsExist() throws Exception { assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties")); assertEquals("2", false, ResourceUtil.isExist("hoge")); } /** * @throws Exception */ public void testGetExtension() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
import org.codelibs.core.beans.factory.BeanDescFactory; import org.codelibs.core.exception.MethodNotFoundRuntimeException; import org.junit.Test; /** * @author higa * @author manhole */ public class BeanDescImplTest { /** * @throws Exception */ @Test public void testPropertyDesc() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
public class MessageFormatterTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testGetMessage() throws Exception { final String s = MessageFormatter.getMessage("EMSG0000");Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java
* </li> * <li>child exception summaries.</li> * </ul> */ public class ExceptionSummary { private Throwable exception; private String message; private String reference; private List<ExceptionSummary> children; public ExceptionSummary(Throwable exception, String message, String reference) { this(exception, message, reference, null); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Then: Remove should throw UnsupportedOperationException UnsupportedOperationException exception = assertThrows(UnsupportedOperationException.class, iterator::remove); assertEquals("remove", exception.getMessage()); } @Test @DisplayName("Close should be idempotent") void testClose_Idempotent() throws Exception { // Given: A valid iterator setupRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
} public void testSetFailure() throws Exception { assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); } public void testSetFailureNull() throws Exception { assertThrows(NullPointerException.class, () -> future.setException(null)); assertFalse(future.isDone()); assertTrue(future.setException(new Exception("failure"))); tester.testFailedFuture("failure"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 7.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java
public void metadataInvalid(RepositoryEvent event) { Exception exception = event.getException(); Object metadata; if (event.getMetadata().getFile() != null) { metadata = event.getMetadata().getFile(); } else { metadata = event.getMetadata(); } String errorType = " is invalid"; if (exception instanceof FileNotFoundException) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0)