[hydra-commits] beagles: branch ice/preserve-graphs r665 - /ice/branches/preserve-graphs/java...
SVN commits to the Hydra project
hydra-commits at lists.digium.com
Mon Jun 7 09:24:57 CDT 2010
Author: beagles
Date: Mon Jun 7 09:24:57 2010
New Revision: 665
URL: https://origsvn.digium.com/svn-view/hydra?view=rev&rev=665
Log:
Add missing file.
Added:
ice/branches/preserve-graphs/java/test/Ice/slicing/exceptions/ClientPrivate.ice (with props)
Added: ice/branches/preserve-graphs/java/test/Ice/slicing/exceptions/ClientPrivate.ice
URL: https://origsvn.digium.com/svn-view/hydra/ice/branches/preserve-graphs/java/test/Ice/slicing/exceptions/ClientPrivate.ice?view=auto&rev=665
==============================================================================
--- ice/branches/preserve-graphs/java/test/Ice/slicing/exceptions/ClientPrivate.ice (added)
+++ ice/branches/preserve-graphs/java/test/Ice/slicing/exceptions/ClientPrivate.ice Mon Jun 7 09:24:57 2010
@@ -1,0 +1,107 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#ifndef CLIENTPRIVATE_ICE
+#define CLIENTPRIVATE_ICE
+
+[["java:package:test.Ice.slicing.exceptions.client"]]
+module Test
+{
+
+exception Base
+{
+ string b;
+};
+
+exception KnownDerived extends Base
+{
+ string kd;
+};
+
+exception KnownIntermediate extends Base
+{
+ string ki;
+};
+
+exception KnownMostDerived extends KnownIntermediate
+{
+ string kmd;
+};
+
+["preserve"]
+exception BaseUnsliceable extends Base
+{
+};
+
+["preserve"]
+class InnerClass
+{
+ string ic;
+};
+
+interface ClientIntf
+{
+ void baseAsBase() throws Base;
+ void unknownDerivedAsBase() throws Base;
+ void unsliceableDerivedAsBase() throws Base;
+ void unsliceableWithInnerClass() throws Base;
+};
+
+interface TestIntf
+{
+ void baseAsBase() throws Base;
+ void unknownDerivedAsBase() throws Base;
+ void knownDerivedAsBase() throws Base;
+ void knownDerivedAsKnownDerived() throws KnownDerived;
+
+ void unknownIntermediateAsBase() throws Base;
+ void knownIntermediateAsBase() throws Base;
+ void knownMostDerivedAsBase() throws Base;
+ void knownIntermediateAsKnownIntermediate() throws KnownIntermediate;
+ void knownMostDerivedAsKnownIntermediate() throws KnownIntermediate;
+ void knownMostDerivedAsKnownMostDerived() throws KnownMostDerived;
+
+ void unknownMostDerived1AsBase() throws Base;
+ void unknownMostDerived1AsKnownIntermediate() throws KnownIntermediate;
+ void unknownMostDerived2AsBase() throws Base;
+
+ void clientBaseAsBasePass(ClientIntf* client) throws Base;
+ void clientUnknownDerivedAsBasePass(ClientIntf* client) throws Base;
+ void clientUnsliceableDerivedAsBasePass(ClientIntf* client) throws Base;
+ void clientBaseAsBaseRethrow(ClientIntf* client) throws Base;
+ void clientUnknownDerivedAsBaseRethrow(ClientIntf* client) throws Base;
+ void clientUnsliceableDerivedAsBaseRethrow(ClientIntf* client) throws Base;
+ void clientUnsliceableInnerClassRethrow(ClientIntf* client) throws Base;
+
+ void shutdown();
+};
+
+class InnerClassDerived extends InnerClass
+{
+ string id;
+};
+
+exception ClientUnknownDerived extends Base
+{
+ string ud;
+};
+
+exception ClientUnsliceableDerived extends BaseUnsliceable
+{
+ string ud;
+};
+
+exception ClientUnsliceableWithClass extends BaseUnsliceable
+{
+ InnerClassDerived myObj;
+};
+
+};
+
+#endif
Propchange: ice/branches/preserve-graphs/java/test/Ice/slicing/exceptions/ClientPrivate.ice
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ice/branches/preserve-graphs/java/test/Ice/slicing/exceptions/ClientPrivate.ice
------------------------------------------------------------------------------
svn:executable = *
Propchange: ice/branches/preserve-graphs/java/test/Ice/slicing/exceptions/ClientPrivate.ice
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: ice/branches/preserve-graphs/java/test/Ice/slicing/exceptions/ClientPrivate.ice
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the asterisk-scf-commits
mailing list