com.healthy.security.server.exception.InvalidException Maven / Gradle / Ivy
package com.healthy.security.server.exception;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.healthy.security.server.HealthyAuth2ExceptionSerializer;
/**
* HealthyAuth2Exception
*
* @author xiaomingzhang
*/
@JsonSerialize(using = HealthyAuth2ExceptionSerializer.class)
public class InvalidException extends HealthyAuth2Exception {
public InvalidException(String msg, Throwable t) {
super(msg);
}
@Override
public String getOAuth2ErrorCode() {
return "invalid_exception";
}
@Override
public int getHttpErrorCode() {
return 426;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy