- Sort Score
- Num 10 results
- Language All
Results 581 - 590 of 3,799 for thrown (0.04 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
@Override public Object evaluate(String expression, Class<?> type) throws ExpressionEvaluationException { if (preprocessor != null) { try { return preprocessor.preprocessValue(expression, type); } catch (BeanConfigurationException e) { throw new ExpressionEvaluationException(e.getMessage(), e); } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
assertDoesNotThrow(() -> cache.resolveSids(handle, policy, sids)); } @Test @DisplayName("resolveSids(DcerpcHandle,...) throws SmbException on unexpected retval") void resolveSids_throwsOnUnexpectedRetval() throws Exception { SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class)); DcerpcHandle handle = mock(DcerpcHandle.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
infoField.set(msrpcShareGetInfo, info502); // Test getSecurity with empty descriptor - should throw exception assertThrows(ArrayIndexOutOfBoundsException.class, () -> { msrpcShareGetInfo.getSecurity(); }); } @Test void testGetSecurityWithLargeSecurityDescriptor() throws Exception { // Test with large valid security descriptor
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
void connectWrapException_wraps_io_and_unkhost() throws Exception { // Subclass to control connect() behavior SmbTreeConnection c = new SmbTreeConnection(ctx) { @Override public SmbTreeHandleImpl connect(SmbResourceLocatorImpl loc) throws java.io.IOException { throw new java.net.UnknownHostException("nohost"); } };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
public void testSuccessful() throws Exception { TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2)); assertFalse(task.isDone()); task.run(); assertTrue(task.isDone()); assertFalse(task.isCancelled()); assertEquals(2, getDone(task).intValue()); } public void testCancelled() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
final MsrpcLookupSids rpc = new MsrpcLookupSids(policyHandle, sids); handle.sendrecv(rpc); switch (rpc.retval) { case 0: case NtStatus.NT_STATUS_NONE_MAPPED: case 0x00000107: // NT_STATUS_SOME_NOT_MAPPED break; default: throw new SmbException(rpc.retval, false); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 13.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
throw new AssertionFailedError(); } @Override public V get() throws InterruptedException { /* * Wait a little to give us time to call addListener before the future's * value is set in addition to the call we'll make after then. */ allowGetToComplete.await(1, SECONDS); throw new RuntimeException("expected, should be caught");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
public void encode(final NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(length); _dst.enc_ndr_short(impersonation_level); _dst.enc_ndr_small(context_mode); _dst.enc_ndr_small(effective_only); } @Override public void decode(final NdrBuffer _src) throws NdrException { _src.align(4);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 42.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/UniAddress.java
* @return array of resolved UniAddress instances * @throws UnknownHostException if the host cannot be resolved */ public static UniAddress[] getAllByName(final String hostname, final boolean possibleNTDomainOrWorkgroup) throws UnknownHostException { Object addr; int i; if (hostname == null || hostname.length() == 0) { throw new UnknownHostException(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
} } } @Throws(UnknownHostException::class) private fun throwBestFailure( hostname: String, failures: List<Exception>, ): List<InetAddress> { if (failures.isEmpty()) { throw UnknownHostException(hostname) } val failure = failures[0] if (failure is UnknownHostException) { throw failure }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0)