com.base.Exceptions.ThreadNotFound   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A ThreadNotFound(String) 0 2 1
1
package com.base.Exceptions;
2
3
public class ThreadNotFound extends BaseException {
4
    /**
5
     * Construct {@link ThreadNotFound} with Thread Slug and call the {@link BaseException} with Error Code
6
     *
7
     * @param threadSlug Thread Slug of Thread
8
     */
9
    public ThreadNotFound(String threadSlug) {
10
        super(404, "Thread with Slug " + threadSlug + " was not found.");
11
    }
12
}
13