Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for MalformedURLException (0.11 sec)

  1. impl/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 {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. 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 {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.util.List;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.settings.Mirror;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. 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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  5. 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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. 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 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbNamedPipe.java

         * @param tc
         * @throws MalformedURLException
         */
    
        public SmbNamedPipe ( String url, int pipeType, boolean unshared, CIFSContext tc ) throws MalformedURLException {
            super(url, tc);
            this.pipeType = pipeType;
            setNonPooled(unshared);
            if ( !getLocator().isIPC() ) {
                throw new MalformedURLException("Named pipes are only valid on IPC$");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/RandomAccessFileTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.fail;
    
    import java.io.DataOutput;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Random;
    
    import org.junit.Assert;
    import org.junit.Test;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  9. 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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        public SmbRandomAccessFile( String url, String mode, int shareAccess )
                throws SmbException, MalformedURLException, UnknownHostException {
            this( new SmbFile( url, "", null, shareAccess ), mode );
        }
        public SmbRandomAccessFile( SmbFile file, String mode )
                throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            if( mode.equals( "r" )) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
Back to top