/**
**
** MiddCor-C# DemoJava
**			CORBA Solution for .Net with C# Language mapping							 
**																			 
**				
** Copyright:
**			Middsol GmbH, Hamburg
**			Germany  2004
**			www.middsol.com
**			info@middsol.com	
**
*/

package Exceptions;


import java.rmi.RemoteException;
import javax.rmi.PortableRemoteObject;
import java.util.*;


public class GreetingsImpl extends PortableRemoteObject implements Greetings{

	public GreetingsImpl() throws RemoteException {
		super(); 
	}
	
	public String hello( String name ) throws RemoteException, MyUserException {
		System.out.println("Method executed: Greeting.hello(" + name +")\n throw MyUserException(100)");
		throw new MyUserException( 100);			
		//return "Greetings to " + name;
	}
}

