- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 2,324 for exception (0.06 sec)
-
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
} public void test_valueOf_invalidName() { // Test valueOf with invalid name throws exception try { SsoResponseType.valueOf("INVALID"); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("INVALID")); } } public void test_valueOf_null() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/InstantiationRuntimeException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; /** * Exception that wraps {@link InstantiationException}. * * @author higa */ public class InstantiationRuntimeException extends ClRuntimeException {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
/** * Creates a new object instance from the crawler container. * @return A new instance of the component specified by componentName * @throws Exception if the component cannot be created */ @Override public T create() throws Exception { return (T) crawlerContainer.getComponent(componentName); } /** * Wraps an object instance into a pooled object.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
assertThat(exception.message).isEqualTo("canceled due to java.lang.InterruptedException") assertThat(exception).isInstanceOf<IOException>() assertThat(exception.cause) .isNotNull() .isInstanceOf<InterruptedException>() } private fun sleep(delayMillis: Int) { try { Thread.sleep(delayMillis.toLong()) } catch (e: InterruptedException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
ListenableFuture<String> f = FluentFuture.from(SettableFuture.<String>create()); assertThat(FluentFuture.from(f)).isSameInstanceAs(f); } public void testFromNonFluentFuture() throws Exception { ListenableFuture<String> f = new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {}; verify(!(f instanceof FluentFuture)); assertThat(FluentFuture.from(f).get()).isEqualTo("a");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
import java.io.FilterReader; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * @author ricebin */ @NullUnmarked public class MultiReaderTest extends TestCase { public void testOnlyOneOpen() throws Exception { String testString = "abcdefgh";
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/SAXRuntimeException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import org.xml.sax.SAXException; import org.xml.sax.SAXParseException; /** * Exception that wraps {@link SAXException}. * * @author higa */ public class SAXRuntimeException extends ClRuntimeException {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java
DuplicateHostHelper helper = new DuplicateHostHelper(); try { helper.init(); assertNotNull(helper.duplicateHostList); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_setDuplicateHostList() { DuplicateHostHelper helper = new DuplicateHostHelper();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 6.6K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)"); artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler); assertNull(artifact.getVersion()); assertNull(artifact.getBaseVersion()); } @Test void testMNG7780() throws Exception {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java
* restrictions were placed on d. This demonstrates that a, b, c, & d will * all be collected. * * @throws Exception */ @Test void testDependencyManagementExclusionDoesNotOverrideGloballyForTransitives() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 5K bytes - Viewed (0)