You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:22:48 UTC
[sling-org-apache-sling-testing-sling-mock] 09/15: Minor wording
fixes when the ResourceResolverTypeAdapter can't be found.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.testing.sling-mock-1.4.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock.git
commit 6e3e339bdfcacf7d708a1c10fa6833915ec8f9aa
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Jun 4 06:40:32 2015 +0000
Minor wording fixes when the ResourceResolverTypeAdapter can't be found.
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock@1683468 13f79535-47bb-0310-9956-ffa450edef68
---
src/main/java/org/apache/sling/testing/mock/sling/MockSling.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/sling/testing/mock/sling/MockSling.java b/src/main/java/org/apache/sling/testing/mock/sling/MockSling.java
index cc60cdd..dcdebcb 100644
--- a/src/main/java/org/apache/sling/testing/mock/sling/MockSling.java
+++ b/src/main/java/org/apache/sling/testing/mock/sling/MockSling.java
@@ -90,19 +90,19 @@ public final class MockSling {
catch (ClassNotFoundException ex) {
throw new RuntimeException("Unable to instantiate resourcer resolver: "
+ type.getResourceResolverTypeAdapterClass()
- + (type.getArtifactCoordinates() != null ? "Make sure this maven dependency is included: "
+ + (type.getArtifactCoordinates() != null ? ". Make sure this maven dependency is included: "
+ type.getArtifactCoordinates() : ""), ex);
}
catch (InstantiationException ex) {
throw new RuntimeException("Unable to instantiate resourcer resolver: "
+ type.getResourceResolverTypeAdapterClass()
- + (type.getArtifactCoordinates() != null ? "Make sure this maven dependency is included: "
+ + (type.getArtifactCoordinates() != null ? ". Make sure this maven dependency is included: "
+ type.getArtifactCoordinates() : ""), ex);
}
catch (IllegalAccessException ex) {
throw new RuntimeException("Unable to instantiate resourcer resolver: "
+ type.getResourceResolverTypeAdapterClass()
- + (type.getArtifactCoordinates() != null ? "Make sure this maven dependency is included: "
+ + (type.getArtifactCoordinates() != null ? ". Make sure this maven dependency is included: "
+ type.getArtifactCoordinates() : ""), ex);
}
}
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.