This is an automated email from the ASF dual-hosted git repository.

jsorel pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new b2a2ac8d39 Fix to avoid decorating DisjointExtentException and 
CannotEvaluateException in TiledGridCoverage.render()
b2a2ac8d39 is described below

commit b2a2ac8d39bcb339ceb5d30f8d51eb0f647e7502
Author: jsorel <[email protected]>
AuthorDate: Wed Jan 7 11:16:50 2026 +0100

    Fix to avoid decorating DisjointExtentException and CannotEvaluateException 
in TiledGridCoverage.render()
---
 .../main/org/apache/sis/storage/base/TiledGridCoverage.java             | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
 
b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
index 173ae9c307..332778096c 100644
--- 
a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
+++ 
b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
@@ -564,6 +564,8 @@ public abstract class TiledGridCoverage extends 
GridCoverage {
                         imageSize[X_DIMENSION], imageSize[Y_DIMENSION],
                         tileLower[X_DIMENSION], tileLower[Y_DIMENSION], 
result);
             }
+        } catch (DisjointExtentException | CannotEvaluateException e) {
+            throw e;
         } catch (Exception e) {     // Too many exception types for listing 
them all.
             throw new 
CannotEvaluateException(Resources.forLocale(getLocale()).getString(
                     Resources.Keys.CanNotRenderImage_1, 
getIdentifier().toFullyQualifiedName()), e);

Reply via email to