Changed the super class for the custome exception.
Working on sessions.