- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 2,652 for throw (0.05 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
} public MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException { ProjectBuildingRequest request = injectSession(toRequest(configuration)); try { return projectBuilder.build(pom, request).getProject(); } catch (ProjectBuildingException e) { throw transformError(e); } } // This is used by the SITE plugin.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
* @return {@link MessageDigest} * @throws RuntimeException * {@link NoSuchAlgorithmException}が発生した場合 */ public static MessageDigest getInstance(final String algorithm) { assertArgumentNotEmpty("algorithm", algorithm); try { return MessageDigest.getInstance(algorithm); } catch (final NoSuchAlgorithmException e) { throw new NoSuchAlgorithmRuntimeException(e);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
try { Files.createDirectories(destination.toPath().getParent()); Files.copy(file.toPath(), destination.toPath()); } catch (IOException e) { throw new RepositoryMetadataStoreException("Error copying POM to the local repository.", e); } } public String toString() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
} public void testSubscriberThrowsExceptionHandlerThrowsException() throws Exception { final EventBus eventBus = new EventBus( new SubscriberExceptionHandler() { @Override public void handleException(Throwable exception, SubscriberExceptionContext context) { throw new RuntimeException(); } }); final Object subscriber =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 11.2K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
setAlpnProtocols.invoke( sslSocket, Platform.concatLengthPrefixed(protocols), ) } catch (e: IllegalAccessException) { throw AssertionError(e) } catch (e: InvocationTargetException) { throw AssertionError(e) } } } override fun getSelectedProtocol(sslSocket: SSLSocket): String? { // No TLS extensions if the socket class is custom.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
fessConfig.setSystemPropertyAsBoolean(SPNEGO_INITIALIZED, true); fessConfig.storeSystemProperties(); return authenticator; } catch (final Exception e) { throw new SsoLoginException("Failed to initialize SPNEGO.", e); } } /* (non-Javadoc) * @see org.codelibs.fess.sso.spnego.SsoAuthenticator#getLoginCredential() */ @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
} catch (final Exception e) { throw new CurlException("Failed to access the content.", e); } } public InputStream getContentAsStream() throws IOException { if (contentCache == null) { if (contentException != null) { throw new CurlException("The content does not exist.", contentException); } else { throw new CurlException("The content does not exist.");
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 4K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
require(flags shr 15 != 0) { "not a response" } val responseCode = flags and 0xf if (responseCode == NXDOMAIN) { throw UnknownHostException("$hostname: NXDOMAIN") } else if (responseCode == SERVFAIL) { throw UnknownHostException("$hostname: SERVFAIL") } val questionCount = buf.readShort().toInt() and 0xffff val answerCount = buf.readShort().toInt() and 0xffff
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt
actions += { stream -> val actual = stream.requestBody.readUtf8(expected.utf8Size()) if (actual != expected) throw AssertionError("$actual != $expected") } } fun exhaustRequest() = apply { actions += { stream -> if (!stream.requestBody.exhausted()) throw AssertionError("expected exhausted") } } fun cancelStream() = apply {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0)