Skip to content

Commit

Permalink
HEAD:(zeroc-ice/ice@fa4a4b4899) Update checkedCast in Python (zeroc-i…
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier authored and temp committed Jul 24, 2024
1 parent 788f257 commit d82d999
Show file tree
Hide file tree
Showing 1,502 changed files with 2,006 additions and 2,006 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 AdapterExistsException&)
catch(const AdapterNotExistException&)
{
throw;
}
catch(const AdapterNotExistException&)
catch(const AdapterExistsException&)
{
throw;
}
Expand Down Expand Up @@ -1700,11 +1700,11 @@ IceGrid::InternalRegistryPrx::_iceI_registerNode(const ::std::shared_ptr<::IceIn
{
ex.ice_throw();
}
catch(const NodeActiveException&)
catch(const PermissionDeniedException&)
{
throw;
}
catch(const PermissionDeniedException&)
catch(const NodeActiveException&)
{
throw;
}
Expand Down Expand Up @@ -1750,11 +1750,11 @@ IceGrid::InternalRegistryPrx::_iceI_registerReplica(const ::std::shared_ptr<::Ic
{
ex.ice_throw();
}
catch(const ReplicaActiveException&)
catch(const PermissionDeniedException&)
{
throw;
}
catch(const PermissionDeniedException&)
catch(const ReplicaActiveException&)
{
throw;
}
Expand Down
8 changes: 4 additions & 4 deletions slice2cpp/slice/Glacier2/Router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ Glacier2::RouterPrx::_iceI_createSession(const ::std::shared_ptr<::IceInternal::
{
ex.ice_throw();
}
catch(const CannotCreateSessionException&)
catch(const PermissionDeniedException&)
{
throw;
}
catch(const PermissionDeniedException&)
catch(const CannotCreateSessionException&)
{
throw;
}
Expand Down Expand Up @@ -155,11 +155,11 @@ Glacier2::RouterPrx::_iceI_createSessionFromSecureConnection(const ::std::shared
{
ex.ice_throw();
}
catch(const CannotCreateSessionException&)
catch(const PermissionDeniedException&)
{
throw;
}
catch(const PermissionDeniedException&)
catch(const CannotCreateSessionException&)
{
throw;
}
Expand Down
12 changes: 6 additions & 6 deletions slice2cs/cpp/src/IceGrid/Internal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5900,11 +5900,11 @@ private void _iceI_setAdapterDirectProxy(string iceP_adapterId, string iceP_repl
{
throw ex;
}
catch(AdapterExistsException)
catch(AdapterNotExistException)
{
throw;
}
catch(AdapterNotExistException)
catch(AdapterExistsException)
{
throw;
}
Expand Down Expand Up @@ -6305,11 +6305,11 @@ private void _iceI_registerNode(InternalNodeInfo? iceP_info, NodePrx? iceP_prx,
{
throw ex;
}
catch(NodeActiveException)
catch(PermissionDeniedException)
{
throw;
}
catch(PermissionDeniedException)
catch(NodeActiveException)
{
throw;
}
Expand Down Expand Up @@ -6361,11 +6361,11 @@ private void _iceI_registerReplica(InternalReplicaInfo? iceP_info, InternalRegis
{
throw ex;
}
catch(ReplicaActiveException)
catch(PermissionDeniedException)
{
throw;
}
catch(PermissionDeniedException)
catch(ReplicaActiveException)
{
throw;
}
Expand Down
4 changes: 2 additions & 2 deletions slice2cs/cpp/test/Ice/location/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1166,12 +1166,12 @@ public abstract class TestLocatorRegistryDisp_ : Ice.ObjectImpl, TestLocatorRegi
{
public abstract void addObject(global::Ice.ObjectPrx? obj, Ice.Current current);

public abstract global::System.Threading.Tasks.Task setAdapterDirectProxyAsync(string id, global::Ice.ObjectPrx? proxy, Ice.Current current);

public abstract global::System.Threading.Tasks.Task setReplicatedAdapterDirectProxyAsync(string adapterId, string replicaGroupId, global::Ice.ObjectPrx? proxy, Ice.Current current);

public abstract global::System.Threading.Tasks.Task setServerProcessProxyAsync(string id, global::Ice.ProcessPrx? proxy, Ice.Current current);

public abstract global::System.Threading.Tasks.Task setAdapterDirectProxyAsync(string id, global::Ice.ObjectPrx? proxy, Ice.Current current);

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

public static new string ice_staticId() => "::Test::TestLocatorRegistry";
Expand Down
56 changes: 28 additions & 28 deletions slice2cs/cpp/test/Ice/operations/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13946,6 +13946,20 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract MyStruct1 opMyStruct1(MyStruct1 opMyStruct1, Ice.Current current);

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract MyEnum opMyEnum(MyEnum p1, out MyEnum p2, Ice.Current current);
Expand Down Expand Up @@ -14072,20 +14086,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

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

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

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

public static new string ice_staticId() => "::Test::MyDerivedClass";
Expand Down Expand Up @@ -14181,6 +14181,20 @@ namespace Test2
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.8.0-alpha.0")]
public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass
{
public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract global::Test.MyEnum opMyEnum(global::Test.MyEnum p1, out global::Test.MyEnum p2, Ice.Current current);
Expand Down Expand Up @@ -14307,20 +14321,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract global::Test.MyClass_OpMDict2MarshaledResult opMDict2(global::System.Collections.Generic.Dictionary<string, string> p1, Ice.Current current);

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

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

public static new string ice_staticId() => "::Test2::MyDerivedClass";
Expand Down
4 changes: 2 additions & 2 deletions slice2cs/csharp/test/Ice/facets/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1573,12 +1573,12 @@ public abstract class DDisp_ : Ice.ObjectImpl, D
{
public abstract string callD(Ice.Current current);

public abstract string callC(Ice.Current current);

public abstract string callA(Ice.Current current);

public abstract string callB(Ice.Current current);

public abstract string callC(Ice.Current current);

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

public static new string ice_staticId() => "::Test::D";
Expand Down
4 changes: 2 additions & 2 deletions slice2cs/csharp/test/Ice/location/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1177,12 +1177,12 @@ public abstract class TestLocatorRegistryDisp_ : Ice.ObjectImpl, TestLocatorRegi
{
public abstract void addObject(global::Ice.ObjectPrx? obj, Ice.Current current);

public abstract global::System.Threading.Tasks.Task setAdapterDirectProxyAsync(string id, global::Ice.ObjectPrx? proxy, Ice.Current current);

public abstract global::System.Threading.Tasks.Task setReplicatedAdapterDirectProxyAsync(string adapterId, string replicaGroupId, global::Ice.ObjectPrx? proxy, Ice.Current current);

public abstract global::System.Threading.Tasks.Task setServerProcessProxyAsync(string id, global::Ice.ProcessPrx? proxy, Ice.Current current);

public abstract global::System.Threading.Tasks.Task setAdapterDirectProxyAsync(string id, global::Ice.ObjectPrx? proxy, Ice.Current current);

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

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

0 comments on commit d82d999

Please sign in to comment.