package ee.tuleva.onboarding.mandate.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value= HttpStatus.UNPROCESSABLE_ENTITY, reason="Mandate not found")
public class InvalidMandateException extends RuntimeException {

    public InvalidMandateException() {
        super("Invalid mandate. Can't transfer more than 100% from source fund.");
    }

}

@@ -218,25 +218,72 @@
 on=%22
-Mandate not fo
+Invalid mandate. Can't transfer more than 100%25 from source f
 und
+.
 %22)%0Ap

Correct mandate exception description