- Sort Score
- Num 10 results
- Language All
Results 1021 - 1030 of 2,684 for catch (0.03 seconds)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.eventListenerFactory(loggingEventListenerFactory) .build() try { client.newCall(request().build()).execute() fail<Any>() } catch (expected: UnknownHostException) { } logRecorder .assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}""")) .assertLogMatch(Regex("""proxySelectStart: $url"""))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 10.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
System.arraycopy(b, 0, dst, dstIndex, b.length); dstIndex += b.length; dst[dstIndex] = (byte) '\0'; dstIndex++; } } catch (final UnsupportedEncodingException uee) { if (LogStream.level > 1) { uee.printStackTrace(log); } } return dstIndex - start; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.7K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java
} @Override public Socket accept() throws IOException { try { UnixSocketChannel channel = serverSocketChannel.accept(); return new TunnelingUnixSocket(path, channel, endpoint); } catch (ClosedChannelException e) { SocketException exception = new SocketException(); exception.initCause(e); throw exception; } } @Override public void close() throws IOException {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 12 16:33:52 GMT 2019 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java
try { try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) { authSequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch (IOException e) { throw new PACDecodingException("Malformed kerberos ticket", e); } this.authorizations = new ArrayList<>(); Enumeration<?> authElements = authSequence.getObjects();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java
roleService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); logger.info("Created role: {}", entity.getName()); } catch (final Exception e) { logger.warn("Failed to create role: {}", form.name, e); throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
try { Path path = ResourceUtil.getConfOrClassesPath("nonexistent.conf"); fail("Should throw ResourceNotFoundRuntimeException for non-existent file"); } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) { // Expected behavior - method throws exception for non-existent files assertTrue(e.getMessage().contains("nonexistent.conf")); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
protected abstract List<Class<? extends AbstractTester>> getTesters(); private boolean matches(Test test) { Method method; try { method = extractMethod(test); } catch (IllegalArgumentException e) { logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage())); return true; } if (suppressedTests.contains(method)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 10.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java
String html = renderer.render(parser.parseReader(inputStream)); outputStream.write(html); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 3.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java
} artifact.setBaseVersion(version); artifact.updateVersion(version, request.getLocalRepository()); } catch (RepositoryMetadataResolutionException e) { throw new ArtifactResolutionException(e.getMessage(), artifact, e); } } } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java
ArrayList<Exception> exceptions = new ArrayList<>(); for (MavenContext context : residentContext.values()) { try { context.doCloseContainer(); } catch (Exception e) { exceptions.add(e); } } if (!exceptions.isEmpty()) { InvokerException exception = new InvokerException("Could not cleanly shut down context pool");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 4.1K bytes - Click Count (0)