Catch errors when contructor is null.