Passed
Push — master ( 676f65...74c283 )
by Huu-Phat
02:02 queued 13s
created

PostCannotBeSavedException(String)   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 2
rs 10
cc 1
1
package com.dawn.jat.illuminati.post.exception;
2
3
public class PostCannotBeSavedException extends RuntimeException {
4
    private String msg;
5
6
    public PostCannotBeSavedException(String msg) {
7
        this.msg = msg;
8
    }
9
10
    @Override
11
    public String getMessage() {
12
        return this.msg;
13
    }
14
}
15