We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba84883 commit c5c0bd0Copy full SHA for c5c0bd0
opengrok-indexer/src/main/java/org/opengrok/indexer/history/CacheException.java
@@ -33,14 +33,19 @@ public class CacheException extends Exception {
33
private final Level level;
34
35
/**
36
- * Construct a {@code HistoryException} with the specified message.
+ * Construct a {@code CacheException} with the specified message.
37
*
38
* @param msg the message string
39
*/
40
public CacheException(String msg) {
41
this(msg, Level.WARNING);
42
}
43
44
+ /**
45
+ * Construct a {@code CacheException} with the specified message and log level.
46
+ * @param msg message
47
+ * @param level suggested log level
48
+ */
49
public CacheException(String msg, Level level) {
50
super(msg);
51
this.level = level;
0 commit comments