2011-10-29 08:59:30 +02:00
|
|
|
## @file
|
|
|
|
# This file is used to define common Exceptions class used in python tools
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:03:11 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2011-10-29 08:59:30 +02:00
|
|
|
|
|
|
|
## Exceptions used in Expression
|
|
|
|
class EvaluationException(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
class BadExpression(EvaluationException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
class WrnExpression(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
## Exceptions used in macro replacements
|
|
|
|
class MacroException(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
class SymbolNotFound(MacroException):
|
|
|
|
pass
|
|
|
|
|