2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.sdc.common.errors;
23 public enum ErrorCategory {
25 * System-level problems caused by external factors, resources shortage and similar. For instance:
27 * <li>I/O problems (network connectivity, filesystem access etc)</li>
28 * <li>Java issues (missing or incompatible class definitions etc)</li>
29 * <li>Environment problems</li>
35 * Application-level issues related to implementation of certain functionality (such as detected
36 * illegal states of a program or data inconsistency).
41 * Problems related to violations of different rules set either by product metadata (catalog
42 * definitions or similar) or other types of constraints.
47 * Problems caused by attempt of a user to perform certain operations which contradict the system
48 * rules. Mostly applicable to UI-driven flows in presentation tier.
53 * Improper values set in the system configuration (negative numbers, missing or inconsistent
54 * definitions, mismatch with valid values list etc).
59 * Security constraint violations (failed login attempts, lack of permissions to perform operation
60 * and so on). Any problems related to authentication/authorization should use the special
61 * category for system auditing purposes.