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

PostNotFoundException(String)   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
dl 0
loc 2
rs 10
c 1
b 0
f 1
cc 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