- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,030 for thrown (0.04 sec)
-
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
// Assert throwing/catching behavior with assertThrows SMBProtocolDecodingException thrown = assertThrows(SMBProtocolDecodingException.class, () -> { throw new SMBProtocolDecodingException(); }, "Should be throwable via assertThrows"); assertTrue(thrown instanceof CIFSException, "Thrown instance should also be CIFSException subtype"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/JobNotFoundException.java
*/ package org.codelibs.fess.exception; import org.codelibs.fess.opensearch.config.exentity.ScheduledJob; /** * Exception thrown when a scheduled job cannot be found. * This exception is typically thrown when attempting to access or * manipulate a job that does not exist in the system. */ public class JobNotFoundException extends FessSystemException {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* specified by the <code>UniAddress</code> parameter. If the credentials are * not accepted, an <code>SmbAuthException</code> will be thrown. If an error * occurs an <code>SmbException</code> will be thrown. If the credentials are * valid, the method will return without throwing an exception. See the * last <a href="../../../faq.html">FAQ</a> question. * <p> * See also the <code>jcifs.smb.client.logonShare</code> property.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbFileHandleTest.java
* * @throws CIFSException */ @Test void testClose_success() throws CIFSException { smbFileHandle.close(); verify(smbFileHandle, times(1)).close(); } /** * Test close() when a CIFSException is thrown. * * @throws CIFSException */ @Test void testClose_throwsCIFSException() throws CIFSException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * @throws X if {@code get} throws any checked exception except for an {@code ExecutionException} * whose cause is not itself a checked exception * @throws UncheckedExecutionException if {@code get} throws an {@code ExecutionException} with a * {@code RuntimeException} as its cause * @throws ExecutionError if {@code get} throws an {@code ExecutionException} with an {@codeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt
val message = formatMessage(record) val time = Instant.ofEpochMilli(record.millis).atZone(offset) return if (record.thrown != null) { val sw = StringWriter(4096) val pw = PrintWriter(sw) record.thrown.printStackTrace(pw) String.format("%s\t%s%n%s%n", time.format(d), message, sw.toString()) } else { String.format("%s\t%s%n", time.format(d), message) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.1K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
updateCalls.add(user); if (updateThrowsException) { throw new RuntimeException("Update failed"); } } @Override public void delete(User user) { deleteCalls.add(user); if (deleteThrowsException) { throw new RuntimeException("Delete failed"); } } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * <p>If the combiningCallable throws a {@code CancellationException}, the pipeline will be * cancelled. * * <p>If the combiningCallable throws an {@code ExecutionException}, the cause of the thrown * {@code ExecutionException} will be extracted and used as the failure of the derived step. * * <p>If the combiningCallable throws any other exception, it will be used as the failure of theRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
DcerpcException thrown = assertThrows(DcerpcException.class, () -> { dcerpcBinding.setOption("endpoint", endpoint); }, "Should throw DcerpcException for invalid endpoint format."); assertTrue(thrown.getMessage().contains("Bad endpoint"), "Exception message should indicate a bad endpoint."); } @Test void testSetOptionOtherKey() throws DcerpcException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
* {@link SmbFile#getAttributes()} throws it. * @throws SmbException if an SMB error occurs. */ @Test void testAccept_ThrowsSmbException() throws SmbException { // Given a filter dosFileFilter = new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE); // and a mock file that throws an exception when getAttributes is calledRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0)