| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/blob/*name(/*path) |
| route-controller | blob |
| route-action | show |
| fetch-nonce | v2:47af611e-462f-1802-e9c5-b961332b22bc |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 9FD6:3006E3:E8ABF4:1353CC5:6B050E1C |
| html-safe-nonce | e78a1d978e7bd60182f450ab19f78f303bcdac950779daa488813572002c7923 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkQ2OjMwMDZFMzpFOEFCRjQ6MTM1M0NDNTo2QjA1MEUxQyIsInZpc2l0b3JfaWQiOiIxMDc4ODA3MDk5NzcwOTk4MzAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 296655a61f7577e24b115baabe5d3b9d29bd571f4b12729b2bd95c69f467d7c4 |
| hovercard-subject-tag | repository:787979215 |
| github-keyboard-shortcuts | repository,source-code,file-tree,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///blob/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md |
| twitter:image | https://opengraph.githubassets.com/85de90c35444b4c503bd1a9c92d7bf0a42f246bcd6655049b84e45562813ef90/NUVEER/bestJavaer |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/85de90c35444b4c503bd1a9c92d7bf0a42f246bcd6655049b84e45562813ef90/NUVEER/bestJavaer |
| og:image:alt | 这是一个成为更好的Java程序员的系列教程. Contribute to NUVEER/bestJavaer development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-cache |
| go-import | github.com/NUVEER/bestJavaer git https://github.com/NUVEER/bestJavaer.git |
| octolytics-dimension-user_id | 12027364 |
| octolytics-dimension-user_login | NUVEER |
| octolytics-dimension-repository_id | 787979215 |
| octolytics-dimension-repository_nwo | NUVEER/bestJavaer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 269198820 |
| octolytics-dimension-repository_parent_nwo | crisxuan/bestJavaer |
| octolytics-dimension-repository_network_root_id | 269198820 |
| octolytics-dimension-repository_network_root_nwo | crisxuan/bestJavaer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNUVEER%2FbestJavaer%2Fblob%2Fmaster%2Fjava-basic%2Fjava-exceptionanderror.md |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNUVEER%2FbestJavaer%2Fblob%2Fmaster%2Fjava-basic%2Fjava-exceptionanderror.md |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=NUVEER%2FbestJavaer |
| Reload | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md |
| Reload | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md |
| Reload | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md |
| NUVEER | https://github.com/NUVEER |
| bestJavaer | https://github.com/NUVEER/bestJavaer |
| Code | https://github.com/NUVEER/bestJavaer |
| Pull requests | https://github.com/NUVEER/bestJavaer/pulls |
| Actions | https://github.com/NUVEER/bestJavaer/actions |
| Projects | https://github.com/NUVEER/bestJavaer/projects |
| Security and quality | https://github.com/NUVEER/bestJavaer/security |
| Insights | https://github.com/NUVEER/bestJavaer/pulse |
| https://github.com/NUVEER/bestJavaer |
| bestJavaer | https://github.com/NUVEER/bestJavaer/tree/master |
| java-basic | https://github.com/NUVEER/bestJavaer/tree/master/java-basic |
| History | https://github.com/NUVEER/bestJavaer/commits/master/java-basic/java-exceptionanderror.md |
| https://github.com/NUVEER/bestJavaer/commits/master/java-basic/java-exceptionanderror.md |
| bestJavaer | https://github.com/NUVEER/bestJavaer/tree/master |
| java-basic | https://github.com/NUVEER/bestJavaer/tree/master/java-basic |
| Raw | https://github.com/NUVEER/bestJavaer/raw/refs/heads/master/java-basic/java-exceptionanderror.md |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#exception-和-error |
| Exception 和 Error | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#exception-%E5%92%8C-error |
| 认识 Exception | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#%E8%AE%A4%E8%AF%86-exception |
| 什么是 Throwable | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#%E4%BB%80%E4%B9%88%E6%98%AF-throwable |
| 常见的 Exception | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#%E5%B8%B8%E8%A7%81%E7%9A%84-exception |
| 与 Exception 有关的 Java 关键字 | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#%E4%B8%8E-exception-%E6%9C%89%E5%85%B3%E7%9A%84-java-%E5%85%B3%E9%94%AE%E5%AD%97 |
| throws 和 throw | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#throws-%E5%92%8C-throw |
| try 、finally 、catch | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#try-finally-catch |
| JDK1.7 使用 try...with...resources 优雅关闭资源 | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#jdk17-%E4%BD%BF%E7%94%A8-trywithresources-%E4%BC%98%E9%9B%85%E5%85%B3%E9%97%AD%E8%B5%84%E6%BA%90 |
| 异常处理的原则 | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86%E7%9A%84%E5%8E%9F%E5%88%99 |
| 什么是 Error | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#%E4%BB%80%E4%B9%88%E6%98%AF-error |
| 一道经典的面试题 | https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#%E4%B8%80%E9%81%93%E7%BB%8F%E5%85%B8%E7%9A%84%E9%9D%A2%E8%AF%95%E9%A2%98 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#认识-exception |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#什么是-throwable |
| Java规范 | https://docs.oracle.com/javase/specs/jls/se9/html/jls-11.html#jls-11.1.1 |
| https://camo.githubusercontent.com/28bd1f3386d6ff5c4a8849fa60d6973cc1c9f28e8cba49d9179852057379d532/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230343039343933333436322e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#常见的-exception |
| https://camo.githubusercontent.com/eecd54a83ab46493fd8e70232a25ab8ef01b852dc8f065fdfb694a082bcfc19a/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230343039353134343437302e706e67 |
| https://camo.githubusercontent.com/a1a7908d7ef8e1d807b10ebfd2046ad0be1b6de311aeadf2499001ce6445bd9b/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230343039353135363738392e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#与-exception-有关的-java-关键字 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#throws-和-throw |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#try-finally-catch |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#jdk17-使用-trywithresources-优雅关闭资源 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#异常处理的原则 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#什么是-error |
| https://camo.githubusercontent.com/482161908d816d9e4d966ad05a01d45f8107b52821194d71d02a34cc1c028ace/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230343039343935303834312e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-basic/java-exceptionanderror.md#一道经典的面试题 |
| https://camo.githubusercontent.com/90a2b9d02ca1237bef9538b0a8c0d8db0417aad3ace89173163acaea3d5540dd/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230343039353030303535322e706e67 |
| https://camo.githubusercontent.com/a35611b0b52264e2d498126f71bc98f5e292fcef934028d8cfe3a7366faae088/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230343039353031303533392e706e67 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |