Passed
Pull Request — master (#114)
by Huu-Phat
04:15
created

com.dawn.jat.illuminati.post.exception.PostNotFoundException   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
eloc 7
dl 0
loc 10
rs 10
c 1
b 0
f 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getMessage() 0 3 1
A PostNotFoundException(String) 0 2 1
1
package com.dawn.jat.illuminati.post.exception;
2
3
public class PostNotFoundException extends RuntimeException {
4
    private String msg;
5
6
    public PostNotFoundException(String msg) {
7
        this.msg = msg;
8
    }
9
10
    @Override
11
    public String getMessage() {
12
        return this.msg;
13
    }
14
}
15