Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 66 of 66 for MalformedURLException (0.28 seconds)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            try {
                transformer.getURL("not-a-url", "/page");
                fail();
            } catch (final Exception e) {
                // MalformedURLException expected for invalid base URL
            }
        }
    
        @Test
        public void test_normalizeCanonicalUrl_withMalformedRelative() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  2. docs/changelogs/changelog_2x.md

    _2015-05-16_
    
     *  **New HttpUrl API.** It's like `java.net.URL` but good. Note that
        `Request.Builder.url()` now throws `IllegalArgumentException` on malformed
        URLs. (Previous releases would throw a `MalformedURLException` when calling
        a malformed URL.)
    
     *  **We've improved connect failure recovery.** We now differentiate between
        setup, connecting, and connected and implement appropriate recovery rules
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RepositoriesSetupPlugin.java

    import org.gradle.api.Plugin;
    import org.gradle.api.Project;
    import org.gradle.api.artifacts.dsl.RepositoryHandler;
    import org.gradle.api.artifacts.repositories.MavenArtifactRepository;
    
    import java.net.MalformedURLException;
    import java.net.URI;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Locale;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.net.MalformedURLException
    import java.net.URI
    import java.net.URISyntaxException
    import java.net.URL
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.internal.canParseAsIpAddress
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        @Test
        void testInvalidPath() throws Exception {
            // Test various invalid URL formats that should throw MalformedURLException
            assertThrows(MalformedURLException.class, () -> new SmbFile("not-a-url", context),
                    "Invalid URL should throw MalformedURLException");
        }
    
        @Test
        void testPublicShareAccess() throws Exception {
            // Test operations on public share
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

        assertThat(httpUrl.toString())
          .isEqualTo("http://username:password@host/path?query#fragment")
      }
    
      @Test
      fun fromJavaNetUrlUnsupportedScheme() {
        // java.net.MalformedURLException: unknown protocol: mailto
        platform.assumeNotAndroid()
    
        // Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top