1
// **********************************************************************
3
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
5
// This copy of Ice is licensed to you under the terms described in the
6
// ICE_LICENSE file included in this distribution.
8
// **********************************************************************
10
package test.Ice.defaultServant;
11
import test.Ice.defaultServant.Test.*;
13
public final class MyObjectI extends _MyObjectDisp
16
ice_ping(Ice.Current current)
18
String name = current.id.name;
20
if(name == "ObjectNotExist")
22
throw new Ice.ObjectNotExistException();
24
else if(name == "FacetNotExist")
26
throw new Ice.FacetNotExistException();
31
getName(Ice.Current current)
33
String name = current.id.name;
35
if(name == "ObjectNotExist")
37
throw new Ice.ObjectNotExistException();
39
else if(name == "FacetNotExist")
41
throw new Ice.FacetNotExistException();