- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 3,380 for throws (0.77 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java
} public void initTreeProcessing(PlexusContainer plexus) throws ComponentLookupException { classpathTransformation = plexus.lookup(ClasspathTransformation.class); conflictResolver = plexus.lookup(GraphConflictResolver.class); } // ---------------------------------------------------------------------------- public MetadataGraph getGraph() throws MetadataResolutionException {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
void testConstructorWithNullFileId() { // Should not throw exception Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName); assertNotNull(requestWithNull); } @Test @DisplayName("Constructor with null fileName should accept null") void testConstructorWithNullFileName() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.java
return read(new XmlStreamReader(in), strict); } /** * Method read. * * @param in a in object. * @return PersistedToolchains * @throws IOException IOException if any. * @throws XmlPullParserException XmlPullParserException if * any. */
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat May 31 10:30:45 UTC 2025 - 5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
} @Override public void addRepository(org.apache.maven.model.Repository repository) throws InvalidRepositoryException { addRepository(repository, false); } @Override public void addRepository(final Repository repository, boolean replace) throws InvalidRepositoryException { if (session.isIgnoreArtifactDescriptorRepositories()) { return; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Apr 14 13:42:17 UTC 2025 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
* @param len an int specifying the number of bytes to read. * @throws EOFException if this stream reaches the end before reading all the bytes. * @throws IOException if an I/O error occurs. */ public static void readFully(InputStream in, byte[] b, int off, int len) throws IOException { int read = read(in, b, off, len); if (read != len) { throw new EOFException(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
void handlesNullDirectory() throws Exception { SmbFilenameFilter filter = (dir, name) -> dir == null; boolean result = filter.accept(null, "anything"); assertTrue(result, "Filter should accept when dir is null as defined"); } /** * Exception flow: filter throws SmbException and it propagates to caller. */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// When - should not throw exception response.prepare(mockRequest); // Then - method completes without error assertTrue(true); } @Test @DisplayName("Should verify wire format protocol compliance") void testWireFormatProtocolCompliance() throws SMBProtocolDecodingException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("close calls release and decrements usage; double release throws") void closeAndReleaseBehavior() { // Validates usage counting and that an extra release() throws RuntimeCIFSException // First close -> usage 1 -> 0, triggers treeConnection.release() handle.close(); verify(treeConnection, times(1)).release();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
final List<State> transitionStates = new ArrayList<>(); @Override protected void startUp() throws Exception { assertEquals(0, startUpCalled); assertEquals(0, shutDownCalled); startUpCalled++; assertEquals(State.STARTING, state()); } @Override protected void shutDown() throws Exception { assertEquals(1, startUpCalled); assertEquals(0, shutDownCalled);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
void connectWrapException_wrapsToSmbException(SmbResourceLocatorImpl loc, Exception thrown) throws Exception { // Arrange: spy on instance to force connect() failure with specific exception CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx)); doThrow(thrown).when(trace).connect(loc);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0)