NoContentException.java

1
package org.cardanofoundation.explorer.api.exception;
2
3
import lombok.Getter;
4
import lombok.Setter;
5
6
import org.cardanofoundation.explorer.common.exception.ErrorCode;
7
8
@Getter
9
@Setter
10
public class NoContentException extends RuntimeException {
11 1 1. getErrorCode : replaced return value with "" for org/cardanofoundation/explorer/api/exception/NoContentException::getErrorCode → NO_COVERAGE
  private final String errorCode;
12
13 1 1. getErrorMsg : replaced return value with "" for org/cardanofoundation/explorer/api/exception/NoContentException::getErrorMsg → NO_COVERAGE
  private final String errorMsg;
14
15
  public NoContentException(ErrorCode err) {
16
    this.errorCode = err.getServiceErrorCode();
17
    this.errorMsg = err.getDesc();
18
  }
19
}

Mutations

11

1.1
Location : getErrorCode
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/exception/NoContentException::getErrorCode → NO_COVERAGE

13

1.1
Location : getErrorMsg
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/exception/NoContentException::getErrorMsg → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.14.2