- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 3,804 for throws (0.3 seconds)
-
android/guava/src/com/google/common/io/Resources.java
/** * Reads all bytes from a URL into a byte array. * * @param url the URL to read from * @return a byte array containing all the bytes from the URL * @throws IOException if an I/O error occurs */ public static byte[] toByteArray(URL url) throws IOException { return asByteSource(url).read(); } /** * Reads all characters from a URL into a {@link String}, using the given character set. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
suggester.createIndexIfNothing(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { suggester.indexer().deleteAll(); suggester.settings().badword().deleteAll(); suggester.settings().elevateWord().deleteAll();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 37.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MultiReader.java
MultiReader(Iterator<? extends CharSource> readers) throws IOException { this.it = readers; advance(); } /** Closes the current reader and opens the next one, if any. */ private void advance() throws IOException { close(); if (it.hasNext()) { current = it.next().openStream(); } } @Override public int read(char[] cbuf, int off, int len) throws IOException { checkNotNull(cbuf);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java
} /** * @throws Exception */ @Test public void testGetBundle() throws Exception { final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null, this.getClass().getClassLoader()); assertThat(bundle, is(notNullValue())); } /** * @throws Exception */ @Test public void testGetString() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java
@Test public void test_constructor() throws Exception { SuggestWriterResult result = new SuggestWriterResult(); assertNotNull(result); assertFalse(result.hasFailure()); assertNotNull(result.getFailures()); assertEquals(0, result.getFailures().size()); } @Test public void test_addFailure() throws Exception {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
* @param maxSize maximum allowed size * @throws SmbException if validation fails */ public void validateBuffer(byte[] buffer, int expectedSize, int maxSize) throws SmbException { totalValidations.incrementAndGet(); if (buffer == null) { failedValidations.incrementAndGet(); throw new SmbException("Response buffer is null"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java
* @throws LookupException if there is some provisioning related issue. */ @Nonnull <T> List<T> lookupList(Class<T> type); /** * Performs a collection lookup for given typed components. * * @param type The component type. * @return The map of components. The map may be empty if no components found. * @param <T> The component type.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
// Act & Assert SmbException thrown = assertThrows(SmbException.class, () -> { new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid); }); assertEquals(errorCode, thrown.getNtStatus()); } @Test void close_shouldCloseAliasSuccessfully() throws IOException { // Arrange int access = 1; int rid = 100;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
*/ protected final File getTempDir() throws IOException { if (tempDir == null) { tempDir = createTempDir(); } return tempDir; } /** * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will * be deleted in the tear-down for this test. */ protected final File createTempFile() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt
*/ open class DelegatingSSLSocketFactory( private val delegate: SSLSocketFactory, ) : SSLSocketFactory() { @Throws(IOException::class) override fun createSocket(): SSLSocket { val sslSocket = delegate.createSocket() as SSLSocket return configureSocket(sslSocket) } @Throws(IOException::class) override fun createSocket( host: String, port: Int, ): SSLSocket {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0)