2 * Copyright © 2017-2018 AT&T Intellectual Property.
3 * Modifications Copyright © 2018 IBM.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 package org.onap.ccsdk.cds.controllerblueprints.core
23 * @author Brinda Santh
25 class BluePrintProcessorException : RuntimeException {
29 constructor(message: String, cause: Throwable) : super(message, cause)
30 constructor(message: String) : super(message)
31 constructor(cause: Throwable) : super(cause)
32 constructor(cause: Throwable, message: String, vararg args: Any?) : super(format(message, *args), cause)
34 constructor(code: Int, cause: Throwable) : super(cause) {
38 constructor(code: Int, message: String) : super(message) {
42 constructor(code: Int, message: String, cause: Throwable) : super(message, cause) {
46 constructor(code: Int, cause: Throwable, message: String, vararg args: Any?) :
47 super(String.format(message, *args), cause) {
52 class BluePrintRetryException : RuntimeException {
53 constructor(message: String, cause: Throwable) : super(message, cause)
54 constructor(message: String) : super(message)
55 constructor(cause: Throwable) : super(cause)
56 constructor(cause: Throwable, message: String, vararg args: Any?) : super(format(message, *args), cause)