[ 
https://issues.apache.org/jira/browse/SLING-12816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956280#comment-17956280
 ] 

Carsten Ziegeler commented on SLING-12816:
------------------------------------------

thats why I said initially, expect any unchecked exception - thats all we can 
document in the API. If you want to be more specific this needs to be done on 
the provider level.
As we have this for many many years, I am wondering how much of an issue this 
is in reality

> Clarify exceptions thrown from methods of 
> o.a.s.a.r.ValueMap/ModifiableValueMap
> -------------------------------------------------------------------------------
>
>                 Key: SLING-12816
>                 URL: https://issues.apache.org/jira/browse/SLING-12816
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Currently neither the javadoc of 
> https://github.com/apache/sling-org-apache-sling-api/blob/master/src/main/java/org/apache/sling/api/resource/ValueMap.java
>  nor of 
> https://github.com/apache/sling-org-apache-sling-api/blob/master/src/main/java/org/apache/sling/api/resource/ModifiableValueMap.java
>  explain which exceptions can be expected in case either read or write fails 
> in the underlying resource provider. This should be formalized.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to