package com.pollex.pam.web.rest.errors; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(code = HttpStatus.UNAUTHORIZED) public class OtpLoginFailException extends RuntimeException{ public OtpLoginFailException(String message) { super(message); } }