CloudSlang/cs-actions

View on GitHub
cs-json/src/main/java/io/cloudslang/content/json/utils/JsonExceptionValues.java

Summary

Maintainability
A
45 mins
Test Coverage
/*
 * Copyright 2021-2024 Open Text
 * This program and the accompanying materials
 * are made available under the terms of the Apache License v2.0 which accompany this distribution.
 *
 * The Apache License is available at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


package io.cloudslang.content.json.utils;

import io.cloudslang.content.constants.*;

/**
 * Created by victor on 9/12/16.
 */
public final class JsonExceptionValues extends ExceptionValues {
    public static final String INVALID_JSONOBJECT = "Invalid jsonObject provided! ";
    public static final String INVALID_JSONPATH = "Invalid jsonPath provided!";
    public static final String EMPTY_JSONPATH = "Empty jsonPath provided!";
    public static final String EMPTY_JSONOBJECT = "Empty jsonObject provided!";
    public static final String EMPTY_OBJECT = "Empty object provided!";
    public static final String NULL_KEY = "Null key provided!";
    public static final String EMPTY_ACTION = "Empty action provided!";
    public static final String CANNOT_ADD_VALUE = "The value cannot be added!";
    public static final String NOT_A_VALID_JSON_ARRAY_MESSAGE = "The input value is not a valid JavaScript array";

}