try catch 渲染class的步骤