mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
move to scm-webapp
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package sonia.scm.user;
|
||||
|
||||
import sonia.scm.ContextEntry;
|
||||
import sonia.scm.ExceptionWithContext;
|
||||
|
||||
public class AnonymousUserDeletionException extends ExceptionWithContext {
|
||||
|
||||
private static final String CODE = "1yRiASshD1";
|
||||
|
||||
public AnonymousUserDeletionException(ContextEntry.ContextBuilder context) {
|
||||
super(context.build(), "_anonymous user can not be deleted if anonymous access is enabled");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getCode() {
|
||||
return CODE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user