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

oracle / opengrok / #3652

25 Oct 2023 08:13AM UTC coverage: 75.792% (+0.02%) from 75.777%
#3652

push

web-flow
Sonar Code Smell issue fixes (#4455)


Signed-off-by: Gino Augustine <ginoaugustine@gmail.com>

23 of 23 new or added lines in 7 files covered. (100.0%)

44399 of 58580 relevant lines covered (75.79%)

0.76 hits per line

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

0.0
/opengrok-indexer/src/main/java/org/opengrok/indexer/VersionInfoLoadException.java
1
/*
2
 * CDDL HEADER START
3
 *
4
 * The contents of this file are subject to the terms of the
5
 * Common Development and Distribution License (the "License").
6
 * You may not use this file except in compliance with the License.
7
 *
8
 * See LICENSE.txt included in this distribution for the specific
9
 * language governing permissions and limitations under the License.
10
 *
11
 * When distributing Covered Code, include this CDDL HEADER in each
12
 * file and include the License file at LICENSE.txt.
13
 * If applicable, add the following below this CDDL HEADER, with the
14
 * fields enclosed by brackets "[]" replaced with your own identifying
15
 * information: Portions Copyright [yyyy] [name of copyright owner]
16
 *
17
 * CDDL HEADER END
18
 */
19

20
/*
21
 * Copyright (c) 2023, Oracle and/or its affiliates.
22
 * Portions Copyright (c) 2023, Gino Augustine <gino.augustine@oracle.com>.
23
 */
24
package org.opengrok.indexer;
25

26
/**
27
 * Runtime exception thrown if there is any error in loading opengrok version information file.
28
 *
29
 * @author Gino Augustine
30
 */
31
public class VersionInfoLoadException extends RuntimeException {
32
    private static final long serialVersionUID = 1L;
33

34
    /**
35
     * Constructs a VersionInfoLoadException with the specified cause and a
36
     * detail message of {@code (cause==null ? null : cause.toString())}
37
     * (which typically contains the class and detail message of
38
     * {@code cause}).  This constructor is useful for runtime exceptions
39
     * that are little more than wrappers for other throwables.
40
     *
41
     * @param cause the cause (which is saved for later retrieval by the
42
     *              {@link #getCause()} method).  (A {@code null} value is
43
     *              permitted, and indicates that the cause is nonexistent or
44
     *              unknown.)
45
     * @since 1.4
46
     */
47
    public VersionInfoLoadException(Throwable cause) {
48
        super(cause);
×
49
    }
×
50
}
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