vFW and vDNS support added to azure-plugin
[multicloud/azure.git] / azure / aria / aria-extension-cloudify / src / aria / aria / modeling / exceptions.py
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements.  See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License.  You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 """
17 Modeling exceptions.
18 """
19
20 from ..exceptions import AriaException
21
22
23 class ModelingException(AriaException):
24     """
25     ARIA modeling exception.
26     """
27
28
29 class ParameterException(ModelingException):
30     """
31     ARIA parameter exception.
32     """
33     pass
34
35
36 class ValueFormatException(ModelingException):
37     """
38     ARIA modeling exception: the value is in the wrong format.
39     """
40
41
42 class CannotEvaluateFunctionException(ModelingException):
43     """
44     ARIA modeling exception: cannot evaluate the function at this time.
45     """
46
47
48 class MissingRequiredInputsException(ParameterException):
49     """
50     ARIA modeling exception: Required parameters have been omitted.
51     """
52
53
54 class ParametersOfWrongTypeException(ParameterException):
55     """
56     ARIA modeling exception: Parameters of the wrong types have been provided.
57     """
58
59
60 class UndeclaredInputsException(ParameterException):
61     """
62     ARIA modeling exception: Undeclared parameters have been provided.
63     """