PreferenceNotFound(String)   A
last analyzed

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.base.Exceptions;
2
3
public class PreferenceNotFound extends BaseException {
4
    /**
5
     * Construct {@link PreferenceNotFound} with Name and call the {@link BaseException} with Error Code
6
     *
7
     * @param name Team slug of team
8
     */
9
    public PreferenceNotFound(String name) {
10
        super(404, "Preferences with name " + name + " was not found.");
11
    }
12
}
13