Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for MalformedURLException (0.25 sec)

  1. src/test/java/jcifs/tests/FileLocationTest.java

    
        // test case for #30
        @Test ( expected = MalformedURLException.class )
        public void testInvalid () throws MalformedURLException, CIFSException {
            try ( SmbResource p = new SmbFile("smb:a", getContext()) ) {
                p.getType();
            }
        }
    
    
        // #41
        @Test
        public void testGetName () throws MalformedURLException, CIFSException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

                    }
                    catch ( MalformedURLException e ) {
                        log.error("Failed to create child URL", e);
                        continue;
                    }
                }
    
                try ( SmbResource r = adapt(fe) ) {
                    if ( this.filter.accept(r) ) {
                        return r;
                    }
                }
                catch ( MalformedURLException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/ShareEnumIterator.java

                    continue;
                }
                catch ( MalformedURLException e ) {
                    log.error("Failed to create child URL", e);
                    continue;
                }
            }
            return null;
        }
    
    
        private SmbResource adapt ( FileEntry e ) throws MalformedURLException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/BaseCIFSTest.java

            }
            return testShare;
        }
    
    
        protected SmbFile getDefaultShareRoot () throws MalformedURLException {
            return new SmbFile(getTestShareURL(), withTestNTLMCredentials(getContext()));
        }
    
    
        protected SmbResource getDefaultShareRoot ( CIFSContext ctx ) throws MalformedURLException {
            return new SmbFile(getTestShareURL(), withTestNTLMCredentials(ctx));
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     */
    
        public SmbFileOutputStream( String url, int shareAccess ) throws SmbException, MalformedURLException, UnknownHostException {
            this( new SmbFile( url, "", null, shareAccess ), false );
        }
    
        SmbFileOutputStream( SmbFile file, boolean append, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            this.append = append;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/NamingTest.java

        }
    
    
        @Test
        public void testASCII () throws CIFSException, MalformedURLException, UnknownHostException {
            runFilenameTest("just-testing", "adsfg.txt");
        }
    
    
        @Test
        public void testCodepage () throws MalformedURLException, UnknownHostException, CIFSException {
            Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileOperationsTest.java

    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.Map;
    
    import jcifs.smb.*;
    import org.junit.Assert;
    import org.junit.Assume;
    import org.junit.Test;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileAttributesTest.java

    import static org.junit.Assert.assertNotEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.Date;
    import java.util.Map;
    
    import org.junit.Assert;
    import org.junit.Assume;
    import org.junit.Test;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/InvalidRepositoryException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact;
    
    import java.net.MalformedURLException;
    
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     * Error constructing an artifact repository.
     *
     */
    public class InvalidRepositoryException extends Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/EnumTest.java

    package jcifs.tests;
    
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
Back to top