Buxfix incorrect error messing when binding not found
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ public virtual class fflib_DynamicDomainFactory
|
||||
.resolve();
|
||||
|
||||
if (bindings.isEmpty())
|
||||
throw new DeveloperException('Unable to find domain binding ' + objectType);
|
||||
throw new DeveloperException('Unable to find domain binding for ' + objectType);
|
||||
|
||||
System.Type domainImplementationType = bindings.get(0).getImplementationType();
|
||||
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ public virtual class fflib_DynamicSelectorFactory
|
||||
if (bindings.isEmpty())
|
||||
throw new DeveloperException(
|
||||
String.format(
|
||||
'Unable to find selector binding {0} with sharing more {0}',
|
||||
'Unable to find selector binding for {0} with sharing mode {1}',
|
||||
new List<String>
|
||||
{
|
||||
sObjectType.getDescribe().getName(),
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ public virtual class fflib_DynamicServiceFactory
|
||||
if (bindings.isEmpty())
|
||||
throw new DeveloperException(
|
||||
String.format(
|
||||
'Unable to find service binding {0} with sharing more {0}',
|
||||
'Unable to find service binding for {0} with sharing more {1}',
|
||||
new List<String>
|
||||
{
|
||||
serviceInterfaceType.getName(),
|
||||
|
||||
Reference in New Issue
Block a user