diff options
author | Simon Rettberg | 2024-06-27 17:07:06 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-06-27 17:07:06 +0200 |
commit | b7aa11eb4255ea28f1e8ef449b32bad2a48966a6 (patch) | |
tree | cf0b29b2c8cf810f295882ec4274679bb5cf5d2b /src/main | |
parent | [Util] Add socket connect helper to use all available A/AAAA records (diff) | |
download | master-sync-shared-b7aa11eb4255ea28f1e8ef449b32bad2a48966a6.tar.gz master-sync-shared-b7aa11eb4255ea28f1e8ef449b32bad2a48966a6.tar.xz master-sync-shared-b7aa11eb4255ea28f1e8ef449b32bad2a48966a6.zip |
[libvirt] transform: Properly bubble up exception
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/openslx/virtualization/configuration/transformation/TransformationManager.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main/java/org/openslx/virtualization/configuration/transformation/TransformationManager.java b/src/main/java/org/openslx/virtualization/configuration/transformation/TransformationManager.java index 18d7e43..5efaa9f 100644 --- a/src/main/java/org/openslx/virtualization/configuration/transformation/TransformationManager.java +++ b/src/main/java/org/openslx/virtualization/configuration/transformation/TransformationManager.java @@ -119,13 +119,7 @@ public class TransformationManager<T, R> { for ( Transformation<T, R> transformation : this.transformations ) { LOGGER.debug( "Apply transformation '" + transformation.getName() + "'" ); - try { - transformation.apply( this.config, this.args ); - } catch ( TransformationException e ) { - final String errorMsg = - "Error in configuration filter '" + transformation.getName() + "': " + e.getLocalizedMessage(); - throw new TransformationException( errorMsg ); - } + transformation.apply( this.config, this.args ); } } |