BadParameterWithMsgException.java 282 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
package pwc.taxtech.atms.exception;

import org.springframework.http.ResponseEntity;

public class BadParameterWithMsgException extends ApiException {
    @Override
    public <Object> ResponseEntity handle() {
        return ResponseEntity.badRequest().body(getMessage());
    }
}