java-exception-logging

Community

Standardize Java exception handling and logging.

Authoryanhaoluo0
Version1.0.0
Installs0

System Documentation

What problem does it solve?

阿里巴巴Java开发手册异常日志规约,帮助团队统一错误码、异常处理和日志规范,提高定位问题的速度和代码可维护性。

Core Features & Use Cases

  • (一) 错误码设计原则和规范,确保错误来源可追溯、错误码格式统一、避免将错误码用于提示信息。
  • (二) 异常处理规范,强调不要将异常用于流程控制、避免吞掉异常、以及在需要时抛出对业务有意义的自定义异常。
  • (三) 日志规约,要求使用日志框架门面、日志留存和脱敏、以及在生产环境的日志级别与输出规范。

Quick Start

在你的项目中应用此规约,确保错误码、异常处理与日志规约符合标准。

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: java-exception-logging
Download link: https://github.com/yanhaoluo0/AlibabaDevelopmentManualSkills/archive/main.zip#java-exception-logging

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.