Skip to content

Commit

Permalink
added Get Exception service, that returns exception from a Holder. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenSiegismund-GIP authored Oct 8, 2024
1 parent 7d0e60c commit 758dda9
Show file tree
Hide file tree
Showing 24 changed files with 62 additions and 23 deletions.
11 changes: 11 additions & 0 deletions modules/base/base/XMOM/core/exception/ExceptionService.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,16 @@ public static class Rethrower {
<CodeSnippet Type="Java">return new ExceptionHolder(exception);</CodeSnippet>
</SourceCode>
</Operation>
<Operation IsStatic="true" Label="Get Exception" Name="getException">
<Input>
<Data ID="1" Label="Exception Holder" ReferenceName="ExceptionHolder" ReferencePath="core.exception" VariableName="exceptionHolder"/>
</Input>
<Output>
<Exception ID="2" Label="Exception" ReferenceName="Exception" ReferencePath="core.exception" VariableName="exception"/>
</Output>
<SourceCode>
<CodeSnippet Type="Java">return exceptionHolder.getException();</CodeSnippet>
</SourceCode>
</Operation>
</Service>
</DataType>
2 changes: 1 addition & 1 deletion modules/base/base/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<Application applicationName="Base" comment="" factoryVersion="" versionName="1.0.19" xmlVersion="1.1">
<Application applicationName="Base" comment="" factoryVersion="" versionName="1.0.20" xmlVersion="1.1">
<ApplicationInfo>
<Description Lang="DE">Diverse grundlegende DatenTypen und Services</Description>
<Description Lang="EN">Miscellaneous essential data types and services</Description>
Expand Down
2 changes: 1 addition & 1 deletion modules/base/net/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/base/storables/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
5 changes: 3 additions & 2 deletions modules/xact/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Copyright 2022 Xyna GmbH, Germany
* Copyright 2024 Xyna GmbH, Germany
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -24,6 +24,7 @@
<target name="build-all">
<buildModule target="build-all" dir="connection" target.dir="${target.dir}/xact" />
<buildModule target="build-all" dir="devicetypes" target.dir="${target.dir}/xact" />
<buildModule target="build-all" dir="dhcp" target.dir="${target.dir}/xact" />
<buildModule target="build" dir="http" target.dir="${target.dir}/xact" />
<buildModule target="build" dir="ldap" target.dir="${target.dir}/xact" />
<buildModule target="build" dir="mail" target.dir="${target.dir}/xact" />
Expand All @@ -32,7 +33,7 @@
<buildModule target="build" dir="soap" target.dir="${target.dir}/xact" />
<buildModule target="build" dir="snmp" target.dir="${target.dir}/xact" />
<buildModule target="build-all" dir="ssh" target.dir="${target.dir}/xact" />
<buildModule target="build" dir="velocity" target.dir="${target.dir}/xact" />
<buildModule target="build" dir="velocity" target.dir="${target.dir}/xact" />
</target>

</project>
2 changes: 1 addition & 1 deletion modules/xact/connection/connection/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
27 changes: 27 additions & 0 deletions modules/xact/dhcp/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Copyright 2024 Xyna GmbH, Germany
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<project name="build" default="build-all" basedir=".">

<property name="target.dir" value="${basedir}/deploy/" />

<target name="build-all">

</target>

</project>
2 changes: 1 addition & 1 deletion modules/xact/dhcp/client/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xact/ldap/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xact/mail/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xact/queue/queue/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xact/script/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xact/snmp/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xact/soap/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xact/velocity/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xfmg/csv/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xfmg/json/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xfmg/node/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xfmg/user/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xfmg/xynaproperty/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xint/crypto/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xint/regexp/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xnwh/timeseries/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down
2 changes: 1 addition & 1 deletion modules/xprc/processing/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<RuntimeContextRequirements>
<RuntimeContextRequirement>
<ApplicationName>Base</ApplicationName>
<VersionName>1.0.19</VersionName>
<VersionName>1.0.20</VersionName>
</RuntimeContextRequirement>
</RuntimeContextRequirements>
</ApplicationInfo>
Expand Down

0 comments on commit 758dda9

Please sign in to comment.