mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Move Exception classes to corresponding package
This commit is contained in:
parent
0287272a3b
commit
d08508e6ef
23 changed files with 46 additions and 59 deletions
|
@ -0,0 +1,20 @@
|
|||
package org.asamk.signal.manager;
|
||||
|
||||
public class UserAlreadyExists extends Exception {
|
||||
|
||||
private final String username;
|
||||
private final String fileName;
|
||||
|
||||
public UserAlreadyExists(String username, String fileName) {
|
||||
this.username = username;
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return fileName;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue