|
@@ -1,13 +1,10 @@
|
|
|
package com.leanwo.gateway.exception;
|
|
package com.leanwo.gateway.exception;
|
|
|
|
|
|
|
|
-import javax.ws.rs.ext.Provider;
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* 访问权限异常,返回给前端401,前端会跳转到登陆界面
|
|
* 访问权限异常,返回给前端401,前端会跳转到登陆界面
|
|
|
* @author YangZhiJie
|
|
* @author YangZhiJie
|
|
|
*
|
|
*
|
|
|
*/
|
|
*/
|
|
|
-@Provider
|
|
|
|
|
public class AuthorizeException extends RuntimeException {
|
|
public class AuthorizeException extends RuntimeException {
|
|
|
|
|
|
|
|
public AuthorizeException(){
|
|
public AuthorizeException(){
|