com.github.netkorp.telegram.framework.exceptions.CommandNotActive   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A CommandNotActive() 0 2 1
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 there is no active command.
5
 */
6
public class CommandNotActive 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 CommandNotActive() {
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("There is no an active command");
0 ignored issues
show
Coding Style introduced by
Make this line start at column 5.
Loading history...
15
    }
16
}
17