Corrected exception thrown by base factory method