Implementing a base exception, and allowing it to be caught.