mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-08 05:10:20 +01:00
add new IllegalIdentifierChangeException
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package sonia.scm;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
public class IllegalIdentifierChangeException extends BadRequestException {
|
||||
|
||||
private static final String CODE = "thbsUFokjk";
|
||||
|
||||
public IllegalIdentifierChangeException(ContextEntry.ContextBuilder context, String message) {
|
||||
super(context.build(), message);
|
||||
}
|
||||
|
||||
public IllegalIdentifierChangeException(String message) {
|
||||
super(Collections.emptyList(), message);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getCode() {
|
||||
return CODE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user