mirror of https://github.com/shred/acme4j
Throw an AcmeException if the acme URI cannot be resolved
parent
298dfbc161
commit
0410257042
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue