com.base.Exceptions.MessageNotFound   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

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

1 Method

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