- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 3,054 for throws (0.03 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java
List<ResolutionListener> listeners) throws ArtifactResolutionException, ArtifactNotFoundException; // USED BY REMOTE RESOURCES PLUGIN, DEPENDENCY PLUGIN, SHADE PLUGIN @Deprecated void resolve(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws ArtifactResolutionException, ArtifactNotFoundException;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
} /** * Test destroyObject without listener */ public void test_destroyObject_noListener() throws Exception { TestComponent component = new TestComponent(); PooledObject<TestComponent> pooledObject = new DefaultPooledObject<>(component); // Should not throw exception even without listener factory.destroyObject(pooledObject);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /** * Closes this SAM domain handle. * * @throws IOException if an I/O error occurs during handle closure */ public void close() throws IOException { final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); handle.sendrecv(rpc);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java
throw de; } final MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this); handle.sendrecv(rpc2); } } /** * Closes this SAM policy handle. * * @throws IOException if an I/O error occurs during handle closure */ public void close() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
private String leave() { return "leave"; } public final void testMutualExclusion() throws Exception { thread1.callAndAssertReturns(enter()); thread2.callAndAssertBlocks(enter()); thread1.callAndAssertReturns(leave()); thread2.assertPriorCallReturns(enter()); } public final void testTryEnter() throws Exception { thread1.callAndAssertReturns(true, tryEnter());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
} } @Nested @DisplayName("Decode Tests") class DecodeTests { @Test @DisplayName("Should decode valid copy chunk response") void testDecodeValidResponse() throws SMBProtocolDecodingException { byte[] buffer = createValidCopyChunkResponse(5, 65536, 327680); int bytesDecoded = response.decode(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
// Act & Assert SmbException thrown = assertThrows(SmbException.class, handle::close); assertEquals(errorCode, thrown.getNtStatus()); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrOpenDomain.class)); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); } @Test void close_shouldThrowIOExceptionOnSendRecvFailure() throws IOException { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
Type2Message.writeULong(invalidType, 8, Type2Message.NTLMSSP_TYPE1); // When & Then IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidType)); assertEquals("Not a Type 2 message.", thrown.getMessage()); } } @Nested @DisplayName("Default Flags Tests") class DefaultFlagsTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
throws ArtifactMetadataRetrievalException { RepositoryMetadata metadata = new ArtifactRepositoryMetadata(request.getArtifact()); try { repositoryMetadataManager.resolve(metadata, request); } catch (RepositoryMetadataResolutionException e) { throw new ArtifactMetadataRetrievalException(e.getMessage(), e, request.getArtifact());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 30.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override public final @Nullable V remove(@Nullable Object o) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the map unmodified. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0)