类 ExceptionProcessor
java.lang.Object
org.miowing.mioverify.controller.ExceptionProcessor
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?>
-
构造器详细资料
-
ExceptionProcessor
public ExceptionProcessor()
-
-
方法详细资料
-
handleLoginFailed
@ExceptionHandler(LoginFailedException.class) public org.springframework.http.ResponseEntity<?> handleLoginFailed() -
handleNoProfile
@ExceptionHandler(NoProfileException.class) public org.springframework.http.ResponseEntity<?> handleNoProfile() -
handleInvalidToken
@ExceptionHandler(InvalidTokenException.class) public org.springframework.http.ResponseEntity<?> handleInvalidToken() -
handleNoContent
@ExceptionHandler({ProfileNotFoundException.class,UserMismatchException.class,InvalidSessionException.class}) public org.springframework.http.ResponseEntity<?> handleNoContent() -
handleUnauthorized
@ExceptionHandler(UnauthorizedException.class) public org.springframework.http.ResponseEntity<?> handleUnauthorized() -
handleNotFound
@ExceptionHandler(TextureNotFoundException.class) public org.springframework.http.ResponseEntity<?> handleNotFound() -
handleForbidden
@ExceptionHandler({AttackDefenseException.class,ForbiddenUploadException.class,ProfileMismatchException.class,TextureDeleteException.class,FeatureNotSupportedException.class,DuplicateUserNameException.class,DuplicateProfileNameException.class}) public org.springframework.http.ResponseEntity<?> handleForbidden()
-