add exceptions classes for PageNotFound and HandleClassNotFound events