JsonException.java

1
package com.github.dakusui.json;
2
3
import com.google.gson.JsonElement;
4
5
import java.io.Serial;
6
7
public class JsonException extends RuntimeException {
8
9
	/**
10
	 * Serial version UID.
11
	 */
12
	@Serial
13
	private static final long serialVersionUID = 1383951548283698713L;
14
	
15
	private final JsonElement problemCausingNode;
16
17
	public JsonException(JsonElement problemCausingNode) {
18
		this.problemCausingNode = problemCausingNode;
19
	}
20
	
21
	
22
	public JsonElement getProblemCausingNode() {
23 1 1. getProblemCausingNode : replaced return value with null for com/github/dakusui/json/JsonException::getProblemCausingNode → NO_COVERAGE
		return this.problemCausingNode;
24
	}
25
}

Mutations

23

1.1
Location : getProblemCausingNode
Killed by : none
replaced return value with null for com/github/dakusui/json/JsonException::getProblemCausingNode → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.15.3