diff options
Diffstat (limited to 'tools/build/v2/exceptions.py')
-rw-r--r-- | tools/build/v2/exceptions.py | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/tools/build/v2/exceptions.py b/tools/build/v2/exceptions.py deleted file mode 100644 index 5750abfe3f..0000000000 --- a/tools/build/v2/exceptions.py +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright Pedro Ferreira 2005. Distributed under the Boost -# Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -# TODO: add more exception types? - -class BaseException (Exception): - def __init__ (self, message = ''): Exception.__init__ (self, message) - -class UserError (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class FeatureConflict (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class InvalidSource (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class InvalidFeature (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class InvalidProperty (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class InvalidValue (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class InvalidAttribute (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class AlreadyDefined (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class IllegalOperation (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class Recursion (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class NoBestMatchingAlternative (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) - -class NoAction (BaseException): - def __init__ (self, message = ''): BaseException.__init__ (self, message) |