- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 3,799 for thrown (0.04 seconds)
-
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} public void testNoEqualsChecksOnEnum() throws Exception { tester.testEquals(OneConstantEnum.class); tester.testEquals(NoConstantEnum.class); tester.testEquals(TimeUnit.class); } public void testNoEqualsChecksOnInterface() throws Exception { tester.testEquals(Runnable.class); } public void testNoEqualsChecksOnAnnotation() throws Exception { tester.testEquals(MyAnnotation.class);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
} else { renameFaults.remove(file) } } @Throws(IOException::class) override fun atomicMove( source: Path, target: Path, ) { if (renameFaults.contains(source) || renameFaults.contains(target)) throw IOException("boom!") super.atomicMove(source, target) } @Throws(IOException::class) override fun delete( path: Path, mustExist: Boolean, ) {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) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* @return {@link Class} * @throws EmptyArgumentException * If the class name is {@literal null} or empty. * @throws ClassNotFoundRuntimeException * If a {@link ClassNotFoundException} occurs. * @see #forName(String) */ public static Class<?> convertClass(final String className) throws ClassNotFoundRuntimeException {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 25.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
* @return a DCERPC handle for the connection * @throws UnknownHostException if the host cannot be resolved * @throws MalformedURLException if the URL is malformed * @throws DcerpcException if DCERPC initialization fails */ public static DcerpcHandle getHandle(final String url, final NtlmPasswordAuthentication auth) throws UnknownHostException, MalformedURLException, DcerpcException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
@Test @DisplayName("read(null) throws NullPointerException") void readNullArrayThrows() throws Exception { SmbFileInputStream in = newStream(); assertThrows(NullPointerException.class, () -> in.read(null)); } @Test @DisplayName("readDirect with len <= 0 returns 0") void readDirectZeroLen() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
/** * Creates a new witness RPC client. * * @param serverAddress the witness server address * @param context the CIFS context * @throws IOException if connection fails */ public WitnessRpcClient(InetAddress serverAddress, CIFSContext context) throws IOException { this.serverAddress = serverAddress; this.context = context; try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 12.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
runUntimedInterruptsTest(38); } public void testMakeUninterruptible_timed_uninterrupted() throws Exception { runTimedInterruptsTest(0); } public void testMakeUninterruptible_timed_interrupted() throws Exception { runTimedInterruptsTest(1); } public void testMakeUninterruptible_timed_multiplyInterrupted() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { @Override public Object get(Object key) throws ExecutionException { Object v = valueRef.get(); if (v == null) { throw new ExecutionException(cause); } return v; } @Override public @Nullable Object getIfPresent(Object key) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean removeIf(Predicate<? super E> filter) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the collection unmodified. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
assertEquals(fileInfo, result); } @Test @DisplayName("Test getInfo with class type - incompatible class throws exception") void testGetInfoWithClassIncompatible() throws Exception { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); FileInternalInfo fileInfo = new FileInternalInfo();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0)