- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 42 for MalformedURLException (0.11 sec)
-
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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* @return a DCERPC handle for the given url * @throws MalformedURLException * if the URL is malformed * @throws DcerpcException * if there is an error establishing the connection */ public static DcerpcHandle getHandle(final String url, final CIFSContext tc) throws MalformedURLException, DcerpcException { return getHandle(url, tc, false); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.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 & ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/context/BaseContext.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.CIFSException; import jcifs.Configuration; import jcifs.Credentials; import jcifs.DfsResolver; import jcifs.NameServiceClient;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0)