Passed
Push — master ( ec853f...5c2486 )
by Roannel Fernández
02:47
created

com.github.netkorp.telegram.framework.exceptions.UserNotAuthorized   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 9
rs 10
c 1
b 0
f 0
eloc 3
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A UserNotAuthorized() 0 2 1
1
package com.github.netkorp.telegram.framework.exceptions;
2
3
/**
4
 * Indicates that the command is not available for a user.
5
 */
6
public class UserNotAuthorized extends Exception {
7
8
    /**
9
     * Constructs a new exception with {@code null} as its detail message.
10
     * The cause is not initialized, and may subsequently be initialized by a
11
     * call to {@link #initCause}.
12
     */
13
    public UserNotAuthorized() {
14
        super("This command is not available for you");
15
    }
16
}
17