Total Complexity | 1 |
Total Lines | 9 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | package com.github.netkorp.telegram.framework.exceptions; |
||
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 | } |
||
17 |