注释类型 ExceptionWrapper


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface ExceptionWrapper
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      int code  
      java.lang.String msg  
      java.lang.Class<? extends java.lang.Throwable> value  
    • 元素详细资料

      • value

        java.lang.Class<? extends java.lang.Throwable> value
        返回:
        The wrapped exception type(s) you want throw onward.
        默认值:
        io.github.kylinhunter.commons.exception.embed.biz.BizException.class
      • code

        int code
        默认值:
        0
      • msg

        java.lang.String msg
        默认值:
        ""