UserNotAuthorized()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
dl 0
loc 2
rs 10
c 1
b 0
f 0
1
package com.github.netkorp.telegram.framework.exceptions;
0 ignored issues
show
Code Smell introduced by
It is a best practice to supply a copyright/licence header in your code. Your organisation probably has a template for that.
Loading history...
2
3
/**
4
 * Indicates that the command is not available for a user.
5
 */
6
public class UserNotAuthorized extends Exception {
0 ignored issues
show
Coding Style introduced by
Move this left curly brace to the beginning of next line of code.
Loading history...
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() {
0 ignored issues
show
Coding Style introduced by
Make this line start at column 3.
Loading history...
Coding Style introduced by
Move this left curly brace to the beginning of next line of code.
Loading history...
14
        super("This command is not available for you");
0 ignored issues
show
Coding Style introduced by
Make this line start at column 5.
Loading history...
15
    }
16
}
17