[
https://issues.apache.org/jira/browse/SLING-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SLING-4373:
-----------------------------------
Summary: Calling ModelFactory.createModel with a null parameter for the
adaptable leads to a InvalidAdaptableException (was: Calling createModel with
a null parameter for the adaptable leads to a InvalidAdaptableException)
> Calling ModelFactory.createModel with a null parameter for the adaptable
> leads to a InvalidAdaptableException
> -------------------------------------------------------------------------------------------------------------
>
> Key: SLING-4373
> URL: https://issues.apache.org/jira/browse/SLING-4373
> Project: Sling
> Issue Type: Improvement
> Affects Versions: Sling Models Impl 1.2.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Fix For: Sling Models Impl 1.2.0
>
>
> This is confusing. Instead an IllegalArgumentException should be thrown in
> case either of both parameters are null.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)