diff class for exception