Updated warning&error class name