com.hltech.pact.gen.domain.pact.MissingGettersException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A MissingGettersException(String) 0 2 1
1
package com.hltech.pact.gen.domain.pact;
2
3
public class MissingGettersException extends RuntimeException {
4
5
    private static final String MESSAGE_PLACEHOLDER = "Serialization is not possible, %s class has no getters";
6
7
    MissingGettersException(String className) {
8
        super(String.format(MESSAGE_PLACEHOLDER, className));
9
    }
10
}
11