TeamNotFound(String)   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 2
rs 10
cc 1
1
package com.base.Exceptions;
2
3
public class TeamNotFound extends BaseException {
4
    /**
5
     * Construct {@link TeamNotFound} with Team Slug and call the {@link BaseException} with Error Code
6
     * @param slug Team slug of team
7
     */
8
    public TeamNotFound(String slug) {
9
        super(404, "Team with Slug " + slug + " was not found.");
10
    }
11
}
12