Class AuthExceptionHandler

java.lang.Object
com.sankcrm.erp.auth.exception.AuthExceptionHandler
All Implemented Interfaces:
com.sankcrm.erp.infrastructure.ExceptionHandler

@Component public class AuthExceptionHandler extends Object implements com.sankcrm.erp.infrastructure.ExceptionHandler
异常信息处理
Since:
2.6.0
Author:
zhsxin
create time:
2024-07-10 15:08
  • Constructor Details

    • AuthExceptionHandler

      public AuthExceptionHandler()
  • Method Details

    • accept

      public boolean accept(Exception e)
      Specified by:
      accept in interface com.sankcrm.erp.infrastructure.ExceptionHandler
    • order

      public int order()
      Specified by:
      order in interface com.sankcrm.erp.infrastructure.ExceptionHandler
    • getStatusCode

      public com.sankcrm.erp.common.statuscode.StatusCode getStatusCode(Exception e)
      Specified by:
      getStatusCode in interface com.sankcrm.erp.infrastructure.ExceptionHandler
    • fieldName

      public String fieldName(Exception e)
      Specified by:
      fieldName in interface com.sankcrm.erp.infrastructure.ExceptionHandler