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

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A PojoNonCompliantWithPodamException(String) 0 2 1
1
package com.hltech.pact.gen.domain.pact;
2
3
public class PojoNonCompliantWithPodamException extends RuntimeException {
4
5
    private static final String MESSAGE_PLACEHOLDER =
6
        "Unable to instantiate %s object with podam due to missing noArgsConstructor + setters / allArgsConstructor";
7
8
    public PojoNonCompliantWithPodamException(String className) {
9
        super(String.format(MESSAGE_PLACEHOLDER, className));
10
    }
11
}
12