- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,296 for throws (0.07 sec)
-
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
public class CloseableUtilTest { /** * @throws Exception */ @Test public void testClose() throws Exception { final NotifyOutputStream out = new NotifyOutputStream(); CloseableUtil.close(out); assertThat(out.getNotify(), is("closed")); } /** * @throws Exception */ @Test public void testCloseNull() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* @throws UncheckedExecutionException if an unchecked exception was thrown while loading the * value * @throws ExecutionError if an error was thrown while loading the value */ @CanIgnoreReturnValue // TODO(b/27479612): consider removing this? V get(K key) throws ExecutionException; /** * Returns the value associated with {@code key} in this cache, first loading that value if
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 8.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
try { stack.runTearDown(); fail("runTearDown should have thrown an exception"); } catch (ClusterException expected) { assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two"); } catch (RuntimeException e) { throw new RuntimeException( "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e); } assertEquals(true, tearDownOne.ran);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
public class NumberConversionUtilTest extends TestCase { /** * @throws Exception */ public void testConvertNumber_byte() throws Exception { assertEquals(new Byte("1"), NumberConversionUtil.convertNumber(Byte.class, "1")); } /** * @throws Exception */ public void testConvertNumber_primitiveWrapper() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
} @Throws(SocketException::class) override fun getSendBufferSize(): Int { return delegate!!.sendBufferSize } @Throws(SocketException::class) override fun getSoTimeout(): Int { return delegate!!.soTimeout } @Throws(SocketException::class) override fun getTcpNoDelay(): Boolean { return delegate!!.tcpNoDelay } @Throws(SocketException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
* @throws PACDecodingException */ public static <T extends Object> T as ( Class<T> type, Enumeration<?> enumeration ) throws PACDecodingException { return as(type, enumeration.nextElement()); } /** * * @param type * @param stream * @return next object from stream cast to type * @throws PACDecodingException * @throws IOException
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 6.5K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
throw new TransferCancelledException(); } @Override public void transferProgressed(TransferEvent event) throws TransferCancelledException { throw new TransferCancelledException(); } @Override public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
return input; } catch (InterruptedException e) { throw new AssertionError(); } } @Override public void sleepThenThrowException() throws SampleException { try { MILLISECONDS.sleep(delayMillis); } catch (InterruptedException e) { } throw new SampleException(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.5K bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java
throw new XmlPullParserException(e.getMessage(), null, e); } } /** * @param reader a reader object. * @throws IOException IOException if any. * @throws XmlPullParserException XmlPullParserException if * any. * @return Model */ public Settings read(Reader reader) throws IOException, XmlPullParserException { try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
throws CIFSException { super(th, parent, wildcard, filter, searchAttributes); } @SuppressWarnings ( "resource" ) @Override protected final FileEntry open () throws CIFSException { SmbResourceLocator loc = this.getParent().getLocator(); String unc = loc.getUNCPath();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:13:49 UTC 2021 - 5.3K bytes - Viewed (0)