1 package org.apache.archiva.rest.services.v2;/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing,
12 * software distributed under the License is distributed on an
13 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 * KIND, either express or implied. See the License for the
15 * specific language governing permissions and limitations
19 import org.apache.archiva.rest.api.services.v2.ErrorMessage;
21 import java.util.List;
24 * @author Martin Stockhammer <martin_s@apache.org>
26 public interface ErrorKeys
29 String PREFIX = "archiva.";
30 String REPOSITORY_GROUP_PREFIX = PREFIX + "repository_group.";
31 String REPOSITORY_PREFIX = PREFIX + "repository.";
33 String INVALID_RESULT_SET_ERROR = "archiva.result_set.invalid";
34 String REPOSITORY_ADMIN_ERROR = "archiva.repositoryadmin.error";
35 String LDAP_CF_INIT_FAILED = "archiva.ldap.cf.init.failed";
36 String LDAP_USER_MAPPER_INIT_FAILED = "archiva.ldap.usermapper.init.failed";
37 String LDAP_COMMUNICATION_ERROR = "archiva.ldap.communication_error";
38 String LDAP_INVALID_NAME = "archiva.ldap.invalid_name";
39 String LDAP_GENERIC_ERROR = "archiva.ldap.generic_error";
40 String LDAP_SERVICE_UNAVAILABLE = "archiva.ldap.service_unavailable";
41 String LDAP_SERVICE_AUTHENTICATION_FAILED = "archiva.ldap.authentication.failed";
42 String LDAP_SERVICE_AUTHENTICATION_NOT_SUPPORTED = "archiva.ldap.authentication.not_supported";
43 String LDAP_SERVICE_NO_PERMISSION = "archiva.ldap.no_permissions";
45 String PROPERTY_NOT_FOUND = "archiva.property.not.found";
47 String MISSING_DATA = "archiva.missing.data";
49 String REPOSITORY_GROUP_NOT_EXIST = REPOSITORY_GROUP_PREFIX+"notexist";
50 String REPOSITORY_GROUP_ADD_FAILED = REPOSITORY_GROUP_PREFIX+"add.failed" ;
51 String REPOSITORY_GROUP_EXIST = REPOSITORY_GROUP_PREFIX+"exists";
53 String REPOSITORY_GROUP_DELETE_FAILED = REPOSITORY_GROUP_PREFIX + "delete.failed";
54 String REPOSITORY_NOT_EXIST = REPOSITORY_PREFIX + "notexist";