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 EServiceErrorException extends RuntimeException{ public EServiceErrorException(String message) { super(message); } }