- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 50 for MalformedURLException (0.12 sec)
-
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* * @param url the SMB URL of the named pipe * @param pipeType the type of the pipe * @throws MalformedURLException if the URL is malformed * @throws UnknownHostException if the host cannot be resolved */ public SmbNamedPipe(final String url, final int pipeType) throws MalformedURLException, UnknownHostException { super(url); this.pipeType = pipeType; type = TYPE_NAMED_PIPE; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.net.MalformedURLException; import java.net.URL; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* whether to use an exclusive connection for this pipe * @param tc the CIFS context to use * @throws MalformedURLException if the URL is not properly formatted */ public SmbNamedPipe(final String url, final int pipeType, final boolean unshared, final CIFSContext tc) throws MalformedURLException { super(url, tc); this.pipeType = pipeType; setNonPooled(unshared);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
super(parent, delegate, filter); } /** * @param fe * @return * @throws MalformedURLException */ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
FileEntryAdapterIterator iterator = new FileEntryAdapterIterator(parent, delegate, null) { @Override protected SmbResource adapt(FileEntry e) throws MalformedURLException { throw new MalformedURLException("Always fails"); } }; // When all entries fail, iterator should be empty assertFalse(iterator.hasNext()); assertNull(iterator.next());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
* * @param url the SMB URL to read from * @throws SmbException if an SMB error occurs * @throws MalformedURLException if the URL is malformed * @throws UnknownHostException if the server cannot be resolved */ public SmbFileInputStream(final String url) throws SmbException, MalformedURLException, UnknownHostException { this(new SmbFile(url)); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
* @throws UnknownHostException if the host cannot be resolved * @throws MalformedURLException if the URL is malformed * @throws DcerpcException if DCERPC initialization fails */ public DcerpcPipeHandle(String url, final NtlmPasswordAuthentication auth) throws UnknownHostException, MalformedURLException, DcerpcException { binding = DcerpcHandle.parseBinding(url);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
private DfsReferralData dfsReferral; DummySmbResourceLocator(String urlStr) throws MalformedURLException { if (urlStr == null) { throw new IllegalArgumentException("URL string must not be null"); } if (!urlStr.startsWith("smb://")) { throw new MalformedURLException("Only SMB URLs are supported in the dummy implementation"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.context; import java.net.MalformedURLException; import java.net.URLStreamHandler; import jcifs.BufferCache; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.Credentials; import jcifs.DfsResolver;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
@Test void testConstructorWithURL() throws MalformedURLException { // Arrange & Act SmbFile file = new SmbFile(url, mockCifsContext); // Assert assertNotNull(file); assertEquals(mockCifsContext, file.getContext()); } @Test void testConstructorWithStringURL() throws MalformedURLException { // Arrange & Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0)