Exceptions

Different types of exceptions to be used for python.