Skip to content

Commit

Permalink
HEAD:(zeroc-ice/ice@c7a7cc7365) Simplify stack trace collection code …
Browse files Browse the repository at this point in the history
…in C++ (zeroc-ice/ice#3110)
  • Loading branch information
bernardnormier authored and temp committed Nov 12, 2024
1 parent b366677 commit c85317a
Show file tree
Hide file tree
Showing 1,490 changed files with 1,972 additions and 1,972 deletions.
12 changes: 6 additions & 6 deletions slice2cpp/cpp/src/IceGrid/Internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1585,11 +1585,11 @@ IceGrid::ReplicaSessionPrx::_iceI_setAdapterDirectProxy(const ::std::shared_ptr<
{
ex.ice_throw();
}
catch(const AdapterNotExistException&)
catch(const AdapterExistsException&)
{
throw;
}
catch(const AdapterExistsException&)
catch(const AdapterNotExistException&)
{
throw;
}
Expand Down Expand Up @@ -1700,11 +1700,11 @@ IceGrid::InternalRegistryPrx::_iceI_registerNode(const ::std::shared_ptr<::IceIn
{
ex.ice_throw();
}
catch(const PermissionDeniedException&)
catch(const NodeActiveException&)
{
throw;
}
catch(const NodeActiveException&)
catch(const PermissionDeniedException&)
{
throw;
}
Expand Down Expand Up @@ -1750,11 +1750,11 @@ IceGrid::InternalRegistryPrx::_iceI_registerReplica(const ::std::shared_ptr<::Ic
{
ex.ice_throw();
}
catch(const PermissionDeniedException&)
catch(const ReplicaActiveException&)
{
throw;
}
catch(const ReplicaActiveException&)
catch(const PermissionDeniedException&)
{
throw;
}
Expand Down
40 changes: 20 additions & 20 deletions slice2cs/cpp/src/DataStorm/Contract.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3408,16 +3408,6 @@ public abstract class SessionDisp_ : Ice.ObjectImpl, Session

public abstract class PublisherSessionDisp_ : Ice.ObjectImpl, PublisherSession
{
public abstract void announceTopics(TopicInfo[] topics, bool initialize, Ice.Current current);

public abstract void attachTopic(TopicSpec topic, Ice.Current current);

public abstract void detachTopic(long topic, Ice.Current current);

public abstract void attachTags(long topic, ElementInfo[] tags, bool initialize, Ice.Current current);

public abstract void detachTags(long topic, long[] tags, Ice.Current current);

public abstract void announceElements(long topic, ElementInfo[] keys, Ice.Current current);

public abstract void attachElements(long topic, ElementSpec[] elements, bool initialize, Ice.Current current);
Expand All @@ -3430,6 +3420,16 @@ public abstract class PublisherSessionDisp_ : Ice.ObjectImpl, PublisherSession

public abstract void disconnected(Ice.Current current);

public abstract void announceTopics(TopicInfo[] topics, bool initialize, Ice.Current current);

public abstract void attachTopic(TopicSpec topic, Ice.Current current);

public abstract void detachTopic(long topic, Ice.Current current);

public abstract void attachTags(long topic, ElementInfo[] tags, bool initialize, Ice.Current current);

public abstract void detachTags(long topic, long[] tags, Ice.Current current);

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::DataStormContract::PublisherSession";
Expand Down Expand Up @@ -3460,16 +3460,6 @@ public abstract class SubscriberSessionDisp_ : Ice.ObjectImpl, SubscriberSession
{
public abstract void s(long topicId, long elementId, DataSample sample, Ice.Current current);

public abstract void announceTopics(TopicInfo[] topics, bool initialize, Ice.Current current);

public abstract void attachTopic(TopicSpec topic, Ice.Current current);

public abstract void detachTopic(long topic, Ice.Current current);

public abstract void attachTags(long topic, ElementInfo[] tags, bool initialize, Ice.Current current);

public abstract void detachTags(long topic, long[] tags, Ice.Current current);

public abstract void announceElements(long topic, ElementInfo[] keys, Ice.Current current);

public abstract void attachElements(long topic, ElementSpec[] elements, bool initialize, Ice.Current current);
Expand All @@ -3482,6 +3472,16 @@ public abstract class SubscriberSessionDisp_ : Ice.ObjectImpl, SubscriberSession

public abstract void disconnected(Ice.Current current);

public abstract void announceTopics(TopicInfo[] topics, bool initialize, Ice.Current current);

public abstract void attachTopic(TopicSpec topic, Ice.Current current);

public abstract void detachTopic(long topic, Ice.Current current);

public abstract void attachTags(long topic, ElementInfo[] tags, bool initialize, Ice.Current current);

public abstract void detachTags(long topic, long[] tags, Ice.Current current);

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::DataStormContract::SubscriberSession";
Expand Down
4 changes: 2 additions & 2 deletions slice2cs/cpp/src/IceGrid/Internal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5521,11 +5521,11 @@ private void _iceI_setAdapterDirectProxy(string iceP_adapterId, string iceP_repl
{
throw ex;
}
catch(AdapterNotExistException)
catch(AdapterExistsException)
{
throw;
}
catch(AdapterExistsException)
catch(AdapterNotExistException)
{
throw;
}
Expand Down
76 changes: 38 additions & 38 deletions slice2cs/cpp/test/Ice/operations/TestAMD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10024,6 +10024,44 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract global::System.Threading.Tasks.Task<MyStruct1> opMyStruct1Async(MyStruct1 opMyStruct1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task shutdownAsync(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<bool> supportsCompressAsync(Ice.Current current);

public abstract global::System.Threading.Tasks.Task opVoidAsync(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteResult> opByteAsync(byte p1, byte p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolResult> opBoolAsync(bool p1, bool p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongResult> opShortIntLongAsync(short p1, int p2, long p3, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleResult> opFloatDoubleAsync(float p1, double p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringResult> opStringAsync(string p1, string p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyEnumResult> opMyEnumAsync(MyEnum p1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyClassResult> opMyClassAsync(MyClassPrx? p1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStructResult> opStructAsync(Structure p1, Structure p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteSResult> opByteSAsync(byte[] p1, byte[] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolSResult> opBoolSAsync(bool[] p1, bool[] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongSResult> opShortIntLongSAsync(short[] p1, int[] p2, long[] p3, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleSResult> opFloatDoubleSAsync(float[] p1, double[] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringSResult> opStringSAsync(string[] p1, string[] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteSSResult> opByteSSAsync(byte[][] p1, byte[][] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolSSResult> opBoolSSAsync(bool[][] p1, bool[][] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongSSResult> opShortIntLongSSAsync(short[][] p1, int[][] p2, long[][] p3, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleSSResult> opFloatDoubleSSAsync(float[][] p1, double[][] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringSSResult> opStringSSAsync(string[][] p1, string[][] p2, Ice.Current current);
Expand Down Expand Up @@ -10126,44 +10164,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract global::System.Threading.Tasks.Task<MyClass_OpMDict2MarshaledResult> opMDict2Async(global::System.Collections.Generic.Dictionary<string, string> p1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task shutdownAsync(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<bool> supportsCompressAsync(Ice.Current current);

public abstract global::System.Threading.Tasks.Task opVoidAsync(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteResult> opByteAsync(byte p1, byte p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolResult> opBoolAsync(bool p1, bool p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongResult> opShortIntLongAsync(short p1, int p2, long p3, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleResult> opFloatDoubleAsync(float p1, double p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringResult> opStringAsync(string p1, string p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyEnumResult> opMyEnumAsync(MyEnum p1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyClassResult> opMyClassAsync(MyClassPrx? p1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStructResult> opStructAsync(Structure p1, Structure p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteSResult> opByteSAsync(byte[] p1, byte[] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolSResult> opBoolSAsync(bool[] p1, bool[] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongSResult> opShortIntLongSAsync(short[] p1, int[] p2, long[] p3, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleSResult> opFloatDoubleSAsync(float[] p1, double[] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringSResult> opStringSAsync(string[] p1, string[] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteSSResult> opByteSSAsync(byte[][] p1, byte[][] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolSSResult> opBoolSSAsync(bool[][] p1, bool[][] p2, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongSSResult> opShortIntLongSSAsync(short[][] p1, int[][] p2, long[][] p3, Ice.Current current);

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::Test::MyDerivedClass";
Expand Down
Loading

0 comments on commit c85317a

Please sign in to comment.