Skip to content

Commit

Permalink
fix for APIMAN-854
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Dec 21, 2015
1 parent 0e7f7f3 commit 5071bd6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -759,7 +759,7 @@ protected ContractBean createContractInternal(String organizationId, String clie
ClientVersionBean avb;
avb = storage.getClientVersion(organizationId, clientId, version);
if (avb == null) {
throw ExceptionFactory.clientNotFoundException(clientId);
throw ExceptionFactory.clientVersionNotFoundException(clientId, version);
}
if (avb.getStatus() == ClientStatus.Retired) {
throw ExceptionFactory.invalidClientStatusException();
Expand Down

0 comments on commit 5071bd6

Please sign in to comment.