- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 2,541 for throwIt (0.06 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java
* Invalid archives may either throw an exception or return empty content. */ public void test_TarExtractor_invalidArchive_handlesGracefully() { final InputStream invalidStream = new ByteArrayInputStream("not a valid tar file".getBytes()); try { final ExtractData result = tarExtractor.getText(invalidStream, null); // If no exception is thrown, result should be empty or minimalRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} /** * Test constructor with null configuration */ @Test @DisplayName("Test constructor throws NullPointerException with null configuration") public void testConstructorWithNullConfig() { // When & Then - should throw NullPointerException since ServerMessageBlock calls config.getPid() NullPointerException exception = assertThrows(NullPointerException.class, () -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
baos.write(buffer.array(), 0, 4); } /** * Test constructor with KERB_CHECKSUM_HMAC_MD5 type. * * @throws IOException if an I/O error occurs * @throws PACDecodingException if the PAC is malformed */ @Test void testConstructorKerbChecksumHmacMd5() throws IOException, PACDecodingException { // Prepare data ByteArrayOutputStream baos = new ByteArrayOutputStream();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
// If we had a non-critical destroy failure, throw it now if (failedToDestroy && destroyException != null) { throw new DestroyFailedException("Partial destroy: " + destroyException.getMessage()); } } catch (DestroyFailedException e) { // Re-throw DestroyFailedException as-is throw e; } catch (Exception e) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
}; } @Override protected void run() throws Exception {} } public void testStopWhileStarting_runNotCalled() throws Exception { CountDownLatch started = new CountDownLatch(1); FakeService service = new FakeService() { @Override protected void startUp() throws Exception { super.startUp(); started.await(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
notifyAll() } } @Throws(IOException::class) internal fun checkOutNotClosed() { when { sink.closed -> throw IOException("stream closed") sink.finished -> throw IOException("stream finished") errorCode != null -> throw errorException ?: StreamResetException(errorCode!!) } } /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
*/ private SmbCopyUtil() { } /** * @param dest * @return * @throws SmbException * @throws SmbAuthException */ static SmbFileHandleImpl openCopyTargetFile(final SmbFile dest, final int attrs, final boolean alsoRead) throws CIFSException { try { return dest.openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final void putAll(Table<? extends R, ? extends C, ? extends V> table) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the table unmodified. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
when(mockSid.unwrap(sid_t.class)).thenReturn(mockSidT); testSids = new jcifs.SID[] { mockSid }; // Act & Assert - Constructor accepts null, no exception thrown assertDoesNotThrow(() -> { new MsrpcLookupSids(null, testSids); }); } @Test void constructor_shouldThrowExceptionWithNullSids() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
if (token == null) { if (len == 0) { return new byte[0]; } throw new CIFSException("token is null but len > 0"); } if (off < 0 || len < 0 || off > token.length || off + len > token.length) { throw new CIFSException("invalid offset/length"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0)