com.wangshanhai.power.exceptions.ShanHaiNotPermissionException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shanhai-power-spring-boot-starter Show documentation
Show all versions of shanhai-power-spring-boot-starter Show documentation
山海Power - 基于SpringBoot的权限组件,极致精简,只为满足简单需要。
The newest version!
package com.wangshanhai.power.exceptions;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 细粒度权限异常
* @author Shmily
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ShanHaiNotPermissionException extends ShanHaiPowerException{
private String code="20001";
private String message;
public ShanHaiNotPermissionException(String message) {
this.message = message;
}
}