- Sort Score
- Num 10 results
- Language All
Results 861 - 870 of 3,282 for throwIt (0.07 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
assertNotNull(result); assertSame(allocation, result); } @Test void testGetInfoWithClass_Incompatible() throws Exception { // Test getInfo with incompatible class throws exception response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Set info to SmbInfoAllocation
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java
throws ArtifactResolutionException, ArtifactNotFoundException { if (Artifact.RELEASE_VERSION.equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); if (Artifact.RELEASE_VERSION.equals(version)) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
override fun writeTo(sink: BufferedSink) { requestBodySinks.add(sink) } override fun isDuplex(): Boolean = true @Throws(InterruptedException::class) fun takeSink(): BufferedSink = requestBodySinks.poll(5, SECONDS) ?: throw AssertionError("no sink to take") fun assertNoMoreSinks() { assertTrue(requestBodySinks.isEmpty()) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
private static LogStream log = LogStream.getInstance(); /** * This is really just for {@link jcifs.smb1.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here. * * @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
* @param req the HTTP servlet request * @param resp the HTTP servlet response * @param file the SMB file to download * @throws IOException if an I/O error occurs */ protected void doFile(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile file) throws IOException { final byte[] buf = new byte[8192]; String url, type; int n;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
@DisplayName("should handle strategy exceptions gracefully") void shouldHandleStrategyExceptionsGracefully() throws Exception { UpgradeContext context = createMockContext(); Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), mock(Document.class)); // Mock first strategy to throw exception when(mockStrategies.get(0).isApplicable(context)).thenReturn(true);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
} private void parse(final byte[] input) throws IOException { int pos = 0; for (int i = 0; i < 8; i++) { if (input[i] != NTLMSSP_SIGNATURE[i]) { throw new IOException("Not an NTLMSSP message."); } } pos += 8; if (readULong(input, pos) != NTLMSSP_TYPE2) { throw new IOException("Not a Type 2 message."); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
throw new UnsupportedOperationException("Transport creation needs integration with SmbTransportPool"); } /** * Perform channel binding for a channel * * @param channel channel to bind * @throws IOException if binding fails */ public void performChannelBinding(ChannelInfo channel) throws IOException {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 20K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
* * @param uri the URI to preprocess * @return the preprocessed URI * @throws CrawlerSystemException if the URI is empty */ protected String preprocessUri(final String uri) { if (StringUtil.isEmpty(uri)) { throw new CrawlerSystemException("SMB URI is empty. Please provide a valid SMB URI (smb://...)."); } return uri; }Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 23.4K bytes - Click Count (3) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
method.setAccessible(true); method.invoke(crawlerThread, urlQueue, responseData); // Should not throw exception, just log } /** * Test run method with no URLs in queue. */ public void test_run_noUrlsInQueue() throws Exception { when(urlQueueService.poll(anyString())).thenReturn(null); crawlerContext.setStatus(CrawlerStatus.RUNNING);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 18.3K bytes - Click Count (0)