Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for MalformedURLException (0.26 seconds)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         * @param currentUrl the current URL
         * @param baseHref the base href value from HTML
         * @return the base URL
         * @throws MalformedURLException if the URL is malformed
         */
        protected URL getBaseUrl(final String currentUrl, final String baseHref) throws MalformedURLException {
            if (baseHref != null) {
                return getURL(currentUrl, baseHref);
            }
            return new URL(currentUrl);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
Back to Top