Throw an AcmeException if the acme URI cannot be resolved

pull/17/merge
Richard Körber 2015-12-13 19:20:14 +01:00
parent 298dfbc161
commit 0410257042
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public final class AcmeClientFactory {
if (candidates.isEmpty()) {
throw new AcmeException("No ACME provider found for " + serverUri);
} else if (candidates.size() > 1) {
throw new IllegalArgumentException("There are " + candidates.size() + " "
throw new AcmeException("There are " + candidates.size() + " "
+ AcmeClientProvider.class.getSimpleName() + " accepting " + serverUri
+ ". Please check your classpath.");
} else {