Logo

GitLab

Sign in

朱子纯 / test

  • Back to Dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Snippets
  • test
  • ..
  • exception
  • BizException.java
  • feat(mod): unified Result + global exception handler REQ-MOD-001
    ac69e557
    zichun authored
    2026-04-29 16:59:13 +0800  
    Browse Code »
BizException.java 278 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
package com.xly.erp.common.exception;

public class BizException extends RuntimeException {
    private final int code;

    public BizException(int code, String msg) {
        super(msg);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}