FINERACT-2081: Retrieving Loan Product details with invalid external-id results in 500 error
This commit is contained in:
committed by
Adam Saghy
parent
d57e72ec2f
commit
8d12bc04e9
+2
-1
@@ -32,7 +32,8 @@ public class LoanProductNotFoundException extends AbstractPlatformResourceNotFou
|
||||
}
|
||||
|
||||
public LoanProductNotFoundException(final ExternalId externalId) {
|
||||
super("error.msg.loanproduct.id.invalid", "Loan product with identifier " + externalId + " does not exist", externalId);
|
||||
super("error.msg.loanproduct.id.invalid", "Loan product with identifier " + externalId.getValue() + " does not exist",
|
||||
externalId.getValue());
|
||||
}
|
||||
|
||||
public LoanProductNotFoundException(Long id, EmptyResultDataAccessException e) {
|
||||
|
||||
Reference in New Issue
Block a user