- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 2,773 for throwIt (0.04 sec)
-
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException { checkNotNull(callable); checkNotNull(timeoutUnit); try { return callable.call(); } catch (RuntimeException e) { throw new UncheckedExecutionException(e); } catch (Exception e) { restoreInterruptIfIsInterruptedException(e); throw new ExecutionException(e); } catch (Error e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java
this.resolutionErrorHandler = resolutionErrorHandler; } @Override public Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException { return resolve(Collections.singleton(project), scopesToResolve, session); } @Override public Set<Artifact> resolve(
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.4K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java
static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException { checkState(future.isDone(), "Future was expected to be done: %s", future); try { return future.get(0, SECONDS); } catch (InterruptedException e) { throw new AssertionError(); } catch (TimeoutException e) { throw new AssertionError(); } } private TestPlatform() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
f.setAccessible(true); return f.get(target); } catch (Exception e) { throw new RuntimeException(e); } } // Helper: find field in class hierarchy private static Field findField(Class<?> clazz, String name) throws NoSuchFieldException { Class<?> current = clazz; while (current != null) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
* @param auth the authentication credentials * @return a map of trusted domain names to domain controllers * @throws SmbAuthException if authentication fails */ public HashMap getTrustedDomains(final NtlmPasswordAuthentication auth) throws SmbAuthException { if (DISABLED || auth.domain == "?") { return null; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java
* * @param token the authorization data token * @param keys map of Kerberos keys indexed by key type * @throws PACDecodingException if decoding fails */ public KerberosRelevantAuthData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException { ASN1Sequence authSequence; try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
InputStream failingStream = new InputStream() { @Override public int read() throws IOException { throw new IOException("Test exception"); } }; try { stopwordsFile.reload(null, failingStream); fail("Should throw DictionaryException"); } catch (DictionaryException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
} protected void createLocalArtifact(Artifact artifact) throws Exception { createArtifact(artifact, localRepository()); } protected void createRemoteArtifact(Artifact artifact) throws Exception { createArtifact(artifact, remoteRepository()); } protected void createArtifact(Artifact artifact, ArtifactRepository repository) throws Exception { String path = repository.pathOf(artifact);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
private Target nullSingleton; @Override public void setUp() throws Exception { super.setUp(); empty = new Target(emptyCollection(), "empty"); /* * We test that nullSingleton.retainAll(disjointList) does NOT throw a * NullPointerException when disjointList does not, so we can't use * MinimalCollection, which throws NullPointerException on calls to * contains(null). */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
* * @param macSigningKey the MAC signing key for message authentication * @param bypass whether to bypass MAC signing * @throws SmbException if MD5 algorithm is not available */ public SigningDigest(final byte[] macSigningKey, final boolean bypass) throws SmbException { try { digest = MessageDigest.getInstance("MD5"); } catch (final NoSuchAlgorithmException ex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.9K bytes - Viewed (0)