
126-java-exception-handling
Use when you need to apply Java exception handling best practices — including using specific exception types, managing resources with try-with-resources, securing exception messages, preserving error context via exception chaining, validating inputs early with fail-fast principles, handling thread interruption correctly, documenting exceptions with @throws, enforcing logging policy, translating exceptions at API boundaries, managing retries and idempotency, enforcing timeouts, attaching suppressed exceptions, and propagating failures in async/reactive code.
- version
- 0.14.0-SNAPSHOT
- GitHub stars
- 462
Install
/plugin install 126-java-exception-handling@cursor-rules-javaRun it inside Claude Code after adding the marketplace with /plugin marketplace add jabrena/plinth.
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Marketplace
- jabrena/plinth
- Source
- skills/126-java-exception-handling
- Category
- Community
More from jabrena/plinth
All 61- 128-java-genericsv0.14.0-SNAPSHOT
- 130-java-testing-strategiesv0.14.0-SNAPSHOT
- 131-java-testing-unit-testingv0.14.0-SNAPSHOT
- 132-java-testing-integration-testingv0.14.0-SNAPSHOT
- 133-java-testing-acceptance-testsv0.14.0-SNAPSHOT
- 141-java-refactoring-with-modern-featuresv0.14.0-SNAPSHOT
- 142-java-functional-programmingv0.14.0-SNAPSHOT
- 143-java-functional-exception-handlingv0.14.0-SNAPSHOT
- 144-java-data-oriented-programmingv0.14.0-SNAPSHOT
- 151-java-performance-jmeterv0.14.0-SNAPSHOT
- 161-java-profiling-detectv0.14.0-SNAPSHOT
- 162-java-profiling-analyzev0.14.0-SNAPSHOT
- 163-java-profiling-refactorv0.14.0-SNAPSHOT
- 164-java-profiling-verifyv0.14.0-SNAPSHOT
- 170-java-documentationv0.14.0-SNAPSHOT
- 181-java-observability-loggingv0.14.0-SNAPSHOT
- 182-java-observability-metrics-micrometerv0.14.0-SNAPSHOT
- 183-java-observability-tracing-opentelemetryv0.14.0-SNAPSHOT
- 200-agents-mdv0.14.0-SNAPSHOT
- 301-frameworks-spring-boot-corev0.14.0-SNAPSHOT
- 302-frameworks-spring-boot-restv0.14.0-SNAPSHOT
- 311-frameworks-spring-jdbcv0.14.0-SNAPSHOT
- 312-frameworks-spring-data-jdbcv0.14.0-SNAPSHOT
- 313-frameworks-spring-db-migrations-flywayv0.14.0-SNAPSHOT