- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 3,054 for throws (0.04 sec)
-
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
ArrayMap<String, String> map; /** * @throws Exception */ @Before public void setUp() throws Exception { map = new ArrayMap<String, String>(); map.put(null, null); map.put("1", "test"); map.put("2", "test2"); } /** * @throws Exception */ @After public void tearDown() throws Exception { map = null; } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
} /** * Ensure encode throws NPE when passed a null buffer. */ @Test @DisplayName("Encode with null buffer throws NullPointerException") public void testEncodeNullBuffer() throws NdrException { NdrHyper hyper = new NdrHyper(5L); assertThrows(NullPointerException.class, () -> hyper.encode(null)); } /** * Ensure decode throws NPE when passed a null buffer. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
private File rootDir; @Override public void setUp() throws IOException { rootDir = createTempDir(); } public void testFileTraverser_emptyDirectory() throws Exception { assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir); } public void testFileTraverser_nonExistingFile() throws Exception { File file = new File(rootDir, "file-that-doesnt-exist");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
"Should throw SMBProtocolDecodingException for invalid structure size"); assertEquals("Expected structureSize = 2", exception.getMessage()); } @Test @DisplayName("Test readBytesWireFormat with zero structure size throws exception") void testReadBytesWireFormatZeroStructureSize() { byte[] buffer = new byte[1024];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/WagonManager.java
@Deprecated Wagon getWagon(String protocol) throws UnsupportedProtocolException; @Deprecated Wagon getWagon(Repository repository) throws UnsupportedProtocolException, WagonConfigurationException; // // Retriever // void getArtifact(Artifact artifact, ArtifactRepository repository, TransferListener transferListener, boolean force) throws TransferFailedException, ResourceDoesNotExistException;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
* @param smbFile the SmbFile directory to list * @return array of SmbFile objects representing the directory contents * @throws SmbException if an error occurs */ public static SmbFile[] listFilesWithLeasing(SmbFile smbFile) throws SmbException { if (!smbFile.isDirectory()) { throw new SmbException("Not a directory: " + smbFile.getPath()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
* writer each time it is called. * * <p>The caller is responsible for ensuring that the returned writer is closed. * * @throws IOException if an I/O error occurs while opening the writer */ public abstract Writer openStream() throws IOException; /** * Opens a new buffered {@link Writer} for writing to this sink. The returned stream is not
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
this.fileItem = fileItem; } @Override public byte[] getFileData() throws IOException { return fileItem.get(); } @Override public InputStream getInputStream() throws IOException { return fileItem.getInputStream(); } @Override public String getContentType() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
} /** * Get the address the service is listening on * * @return the service address * @throws IOException if address cannot be determined */ public InetAddress getAddress() throws IOException { if (serverSocket == null) { throw new IOException("Service not started"); } return InetAddress.getLocalHost(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
} @Test @DisplayName("toString shows basic info when not established") void toString_notEstablished() throws Exception { when(gssContext.isEstablished()).thenReturn(false); String s = ctx.toString(); assertTrue(s.startsWith("KERB5[")); assertTrue(s.contains("src=null")); } @Test @DisplayName("toString shows names and mech when established")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0)