[form] fix missing use statement for exception UnexpectedTypeException