• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hazendaz / httpunit / 755

14 Feb 2026 07:14PM UTC coverage: 80.526%. Remained the same
755

push

github

hazendaz
[ci] Fix badge

3213 of 4105 branches covered (78.27%)

Branch coverage included in aggregate %.

8245 of 10124 relevant lines covered (81.44%)

0.81 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/main/java/com/meterware/httpunit/HttpNotFoundException.java
1
/*
2
 * SPDX-License-Identifier: MIT
3
 * See LICENSE file for details.
4
 *
5
 * Copyright 2000-2026 Russell Gold
6
 * Copyright 2021-2000 hazendaz
7
 */
8
package com.meterware.httpunit;
9

10
import java.net.HttpURLConnection;
11
import java.net.URL;
12

13
/**
14
 * This exception is thrown when the desired URL is not found.
15
 **/
16
public class HttpNotFoundException extends HttpException {
17

18
    /** The Constant serialVersionUID. */
19
    private static final long serialVersionUID = 1L;
20

21
    /**
22
     * construct a HttpNotFoundException (404 Error).
23
     *
24
     * @param responseMessage
25
     *            the response message
26
     * @param baseURL
27
     *            the base URL
28
     */
29
    public HttpNotFoundException(String responseMessage, URL baseURL) {
30
        super(HttpURLConnection.HTTP_NOT_FOUND, responseMessage, baseURL);
1✔
31
    }
1✔
32

33
    /**
34
     * construct a HttpNotFoundException (404 Error).
35
     *
36
     * @param url
37
     *            the url
38
     * @param t
39
     *            the t
40
     */
41
    public HttpNotFoundException(URL url, Throwable t) {
42
        this(t.toString(), url);
×
43
    }
×
44

45
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc