- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 2,327 for Exceptions (0.04 sec)
-
src/test/java/org/codelibs/curl/CurlResponseTest.java
} @Test public void testContentException() { CurlResponse response = new CurlResponse(); Exception exception = new IOException("Test exception"); response.setContentException(exception); assertSame(exception, response.getContentException()); } @Test public void testHeaders() { CurlResponse response = new CurlResponse();Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java
} @Test void testGuice() throws Exception { List<Binding<ModelParser>> parsers = container.lookup(Injector.class).findBindingsByType(TypeLiteral.get(ModelParser.class)); assertNotNull(parsers); assertEquals(1, parsers.size()); } @Test void testDI() throws Exception { DiInjected diInjected = new DiInjected();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Feb 10 23:18:32 UTC 2025 - 12.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalControllerTest.java
if (shouldThrowException) { throw new RuntimeException("Test exception in delayBeforeProcessing"); } } @Override protected void delayAfterProcessing() { afterProcessingCount++; if (shouldThrowException) { throw new RuntimeException("Test exception in delayAfterProcessing"); } } @Override
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
import org.codelibs.core.lang.ClassUtil; import org.junit.Test; /** * @author koichik */ public class TraverserUtilTest { /** * @throws Exception */ @Test public void testFromClass_FileSystem() throws Exception { final Traverser traverser = TraversalUtil.getTraverser(DummyTest.class); assertThat(traverser, is(notNullValue()));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.4K 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/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
@Test void testNoArgsConstructor() { // Test the no-argument constructor ConnectionTimeoutException exception = new ConnectionTimeoutException(); assertNull(exception.getMessage(), "Message should be null for no-arg constructor"); assertNull(exception.getCause(), "Cause should be null for no-arg constructor"); } @Test void testStringConstructor() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 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) -
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) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
import org.codelibs.core.beans.impl.sub.MogeBeanFactory; import org.codelibs.core.exception.IllegalPropertyRuntimeException; import org.junit.Test; /** * @author higa * */ public class PropertyDescImplTest { /** * @throws Exception */ @Test public void testSetValue() throws Exception { final MyBean myBean = new MyBean();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
* @throws Exception */ @Test public void testCopy_mapToNewBean() throws Exception { final BeanMap src = new BeanMap(); src.put("aaa", "aaa"); final MyBean dest = BeanUtil.copyMapToNewBean(src, MyBean.class); assertThat(dest.aaa, is("aaa")); } /** * @throws Exception */ @Test public void testCopy_mapToNewMap() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0)