Created basic exception class