- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,808 for try (0.02 sec)
-
src/main/java/org/codelibs/core/xml/SchemaUtil.java
*/ public static Schema newSchema(final SchemaFactory factory, final File schema) { assertArgumentNotNull("factory", factory); assertArgumentNotNull("schema", schema); try { return factory.newSchema(schema); } catch (final SAXException e) { throw new SAXRuntimeException(e); } } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Test try-with-resources assertTrue(session.isInUse(), "Session should be in use initially"); try (SmbSessionImpl autoSession = session) { // Session is already in use due to transport acquisition
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
* @param requestedState requested lease state * @return lease key for the request */ public Smb2LeaseKey requestLease(String path, int requestedState) { lock.writeLock().lock(); try { // Check if we already have a lease for this path Smb2LeaseKey existingKey = pathToLease.get(path); if (existingKey != null) { LeaseEntry entry = leases.get(existingKey);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
return null; } List<SmbFile> files = new ArrayList<>(); for (DirectoryCacheEntry.FileInfo fileInfo : entry.getChildren()) { try { // Create SmbFile objects from cached info SmbFile file = createSmbFileFromCache(directoryPath, fileInfo); files.add(file); } catch (Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
try { Field field = findField(obj.getClass(), fieldName); field.setAccessible(true); field.set(obj, value); } catch (Exception e) { throw new RuntimeException("Failed to set field " + fieldName, e); } } private Object getFieldValue(Object obj, String fieldName) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
@SuppressSignatureCheck override fun clean( chain: List<Certificate>, hostname: String, ): List<Certificate> { val certificates = (chain as List<X509Certificate>).toTypedArray() try { return x509TrustManagerExtensions.checkServerTrusted(certificates, "RSA", hostname) } catch (ce: CertificateException) { throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
* @return A <code>ZipFile</code> for reading the specified Zip file. */ public static ZipFile create(final String file) { assertArgumentNotEmpty("file", file); try { return new ZipFile(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
* @return GZIP-compressed data * @throws IORuntimeException if compression fails */ protected byte[] gzipCompress(final byte[] data) { try (final ByteArrayOutputStream bos = new ByteArrayOutputStream()) { try (final GZIPOutputStream gzipOut = new GZIPOutputStream(bos)) { gzipOut.write(data); } return bos.toByteArray();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java
throwValidationErrorApi(messages -> { messages.addErrorsCrudFailedToCreateInstance(GLOBAL); }); return null; }); try { roleService.store(entity); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
server.setHandler(handlers); } public void start() { try { server.start(); } catch (final Exception e) { throw new CrawlerSystemException(e); } } public void stop() { try { server.stop(); server.join(); } catch (final Exception e) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.3K bytes - Viewed (0)