2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2016-2018 Ericsson. All rights reserved.
4 * Modifications Copyright (C) 2020 Nordix Foundation.
5 * ================================================================================
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
18 * SPDX-License-Identifier: Apache-2.0
19 * ============LICENSE_END=========================================================
22 package org.onap.policy.gui.editors.apex.rest;
24 import org.onap.policy.apex.model.basicmodel.concepts.ApexException;
27 * Exceptions from the Apex editor.
29 * @author Liam Fallon (liam.fallon@ericsson.com)
31 public class ApexEditorException extends ApexException {
32 private static final long serialVersionUID = 4867385591967018254L;
35 * Instantiates a new apex editor exception.
37 * @param message the message on the exception
39 public ApexEditorException(final String message) {
44 * Instantiates a new apex editor exception.
46 * @param message the message on the exception
47 * @param object the object that the exception was thrown on
49 public ApexEditorException(final String message, final Object object) {
50 super(message, object);
54 * Instantiates a new apex editor exception.
56 * @param message the message on the exception
57 * @param ex the exception that caused this Apex exception
59 public ApexEditorException(final String message, final Exception ex) {
64 * Instantiates a new apex editor exception.
66 * @param message the message on the exception
67 * @param ex the exception that caused this Apex exception
68 * @param object the object that the exception was thrown on
70 public ApexEditorException(final String message, final Exception ex, final Object object) {
71 super(message, ex, object);