- Sort Score
- Result 10 results
- Languages All
Results 1961 - 1970 of 2,652 for throw (0.08 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
} String toXml(Model model) throws IOException, XMLStreamException { StringWriter sw = new StringWriter(); MavenStaxWriter writer = new MavenStaxWriter(); writer.setAddLocationInformation(false); writer.write(sw, model); return sw.toString(); } Model fromXml(String xml) throws XMLStreamException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
import java.net.URLStreamHandler; import junit.framework.TestCase; /** * @author koichik */ public class ZipFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() throws Exception { final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() { @Override
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
public UrlQueueService urlQueueService; public FileTransformer fileTransformer; private StandardCrawlerContainer container; @Override protected void setUp() throws Exception { super.setUp(); final Map<String, String> featureMap = newHashMap(); featureMap.put("http://xml.org/sax/features/namespaces", "false");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MapsTest.java
import static org.junit.Assert.assertThat; import java.util.Map; import org.junit.Test; /** * @author koichik */ public class MapsTest { /** * @throws Exception */ @Test public void test() throws Exception { final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$(); assertThat(map.size(), is(3)); assertThat(map.get("a"), is(1));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/StringConversionUtilTest.java
package org.codelibs.core.convert; import junit.framework.TestCase; /** * @author shinsuke * */ public class StringConversionUtilTest extends TestCase { /** * @throws Exception */ public void testFromWindowsMapping() throws Exception { assertNull(StringConversionUtil.fromWindowsMapping(null)); assertEquals("", StringConversionUtil.fromWindowsMapping(""));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/AllTests.java
cfg.put("jcifs.smb.client.maxVersion", "SMB311"); return cfg; } }); } /** * @throws CIFSException */ @AfterClass public static void closeContexts () throws CIFSException { for ( Entry<String, CIFSContext> ctx : CONTEXT_CACHE.entrySet() ) { if ( ctx.getValue().close() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 14.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Call.kt
* response code like 404 or 500. * * @throws IOException if the request could not be executed due to cancellation, a connectivity * problem or timeout. Because networks can fail during an exchange, it is possible that the * remote server accepted the request before the failure. * @throws IllegalStateException when the call has already been executed. */ @Throws(IOException::class) fun execute(): Response /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 3.6K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/forked/ForkedMavenParser.java
* @return the parsed ForkedMavenInvokerRequest * @throws ParserException if there's an error during parsing of the request * @throws IOException if there's an I/O error during the parsing process */ @Nonnull ForkedMavenInvokerRequest parse(@Nonnull ParserRequest parserRequest) throws ParserException, IOException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 03 16:03:55 UTC 2024 - 2.1K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptParser.java
* @return the parsed EncryptInvokerRequest * @throws ParserException if there's an error during parsing of the request * @throws IOException if there's an I/O error during the parsing process */ @Nonnull EncryptInvokerRequest parse(@Nonnull ParserRequest parserRequest) throws ParserException, IOException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 03 16:03:55 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
import java.sql.Timestamp; import java.util.Date; import org.junit.Test; /** * @author higa * */ public class DateConverterTest { /** * @throws Exception */ @Test public void testGetAsObjectAndGetAsString() throws Exception { final DateConverter converter = new DateConverter("yyyy/MM/dd"); final Date result = (Date) converter.getAsObject("2008/01/16");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0)