- Sort Score
- Result 10 results
- Languages All
Results 1571 - 1580 of 2,324 for exception (0.04 sec)
-
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
assertThrows(NullPointerException.class, () -> Class.forName(null)); } @Test @DisplayName("Happy path: class is loadable via fully qualified name") void testClassForName() throws Exception { // Act Class<?> c = Class.forName("jcifs.smb.SessionSetupHandler"); // Assert assertEquals(SessionSetupHandler.class, c); assertTrue(c.isInterface()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
} ArtifactRepository localRepo = new MetadataRepository(result); metadata.storeInLocalRepository(localRepo, localRepo); merged = true; } catch (Exception e) { throw new RepositoryException(e.getMessage(), e); } } @Override public boolean isMerged() { return merged; } @OverrideRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
*/ package org.codelibs.fess.util; import java.io.IOException; import java.io.InputStream; import java.io.StringReader; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.io.ResourceUtil; import org.codelibs.fess.exception.GsaConfigException; import org.codelibs.fess.helper.SystemHelper;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
@Mock private Configuration config; @Mock private CIFSContext context; @Mock private SmbTransportImpl transport; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); when(session.getConfig()).thenReturn(config); when(session.getContext()).thenReturn(context); when(session.getTransport()).thenReturn(transport);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
import java.util.Calendar; import java.util.Date; import java.util.Iterator; import java.util.Locale; import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; import org.codelibs.core.exception.ParseRuntimeException; import org.codelibs.core.misc.LocaleUtil; /** * Utility for converting objects that represent only dates to {@link Date}, {@link Calendar}, or {@link java.sql.Date}.Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
osddHelper.init(); assertFalse(osddHelper.hasOpenSearchFile()); try { osddHelper.asStream(); fail("Should throw exception when osddFile is null"); } catch (final Exception e) { assertEquals("Unsupported Open Search Description Document response.", e.getMessage()); } } public void test_getOsddFile_null_path() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 23.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class CorsHandlerFactoryTest extends UnitFessTestCase { private CorsHandlerFactory corsHandlerFactory; @Override public void setUp() throws Exception { super.setUp(); corsHandlerFactory = new CorsHandlerFactory(); } public void test_add_and_get_specificOrigin() { // Setup String origin = "https://example.com";Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
@GwtCompatible @NullUnmarked public class EquivalenceTesterTest extends TestCase { private EquivalenceTester<Object> tester; private MockEquivalence equivalenceMock; @Override public void setUp() throws Exception { super.setUp(); this.equivalenceMock = new MockEquivalence(); this.tester = EquivalenceTester.of(equivalenceMock); } /** Test null reference yields error */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
throw new IllegalArgumentException( "Domain name does not have a recognized public suffix: " + host); } /** * Attempts to return a {@code HostSpecifier} for the given string, throwing an exception if * parsing fails. Always use this method in preference to {@link #fromValid(String)} for a * specifier that is not already known to be valid. * * @throws ParseException if the specifier is not valid. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
@GwtCompatible @NullUnmarked public class EquivalenceTesterTest extends TestCase { private EquivalenceTester<Object> tester; private MockEquivalence equivalenceMock; @Override public void setUp() throws Exception { super.setUp(); this.equivalenceMock = new MockEquivalence(); this.tester = EquivalenceTester.of(equivalenceMock); } /** Test null reference yields error */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 8.4K bytes - Viewed (0)