Some common classes of the framework need to be defined, including exceptions and tools for handling exceptions.