add error and exception of ch10