@jabrena/123-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. This should trigger for requests such as Exception handling; Use try-with-resources in Java code; Create exception chaining in Java code; Apply fail-fast validation in Java code. Part of cursor-rules-java project

View in AI SkillSafe app
Scanned · no findings
0 downloads
0 stars
0 demos
SKILL.md

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@jabrena/123-java-exception-handling/verified)](https://skillsafe.ai/skill/@jabrena/123-java-exception-handling/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@jabrena/123-java-exception-handling/installs)](https://skillsafe.ai/skill/@jabrena/123-java-exception-handling/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@jabrena/123-java-exception-handling/scan)](https://skillsafe.ai/skill/@jabrena/123-java-exception-handling/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@jabrena/123-java-exception-handling/eval)](https://skillsafe.ai/skill/@jabrena/123-java-exception-handling/)