package juno2Beans.sellPositions;
import com.ibm.ejs.container.*;
import javax.ejb.*;
import java.rmi.RemoteException;
/**
 * EJSRemoteStatelessCmdSellPosition
 * @generated
 */
public class EJSRemoteStatelessCmdSellPosition
	extends EJSWrapper
	implements CmdSellPosition {
	/**
	 * EJSRemoteStatelessCmdSellPosition
	 * @generated
	 */
	public EJSRemoteStatelessCmdSellPosition()
		throws java.rmi.RemoteException {
		super();
	}
	/**
	 * doSellPosition
	 * @generated
	 */
	public Juno2.PositionListCVO doSellPosition(
		java.lang.String userId,
		java.lang.String userPassword,
		java.lang.String acctId,
		java.lang.String symbol)
		throws java.rmi.RemoteException, java.lang.Exception {
		EJSDeployedSupport _EJS_s = new EJSDeployedSupport();
		Juno2.PositionListCVO _EJS_result = null;
		try {
			juno2Beans.sellPositions.CmdSellPositionBean beanRef =
				(
					juno2Beans
						.sellPositions
						.CmdSellPositionBean) container
						.preInvoke(
					this,
					0,
					_EJS_s);
			_EJS_result =
				beanRef.doSellPosition(userId, userPassword, acctId, symbol);
		} catch (java.rmi.RemoteException ex) {
			_EJS_s.setUncheckedException(ex);
		} catch (java.lang.RuntimeException ex) {
			_EJS_s.setUncheckedException(ex);
		} catch (java.lang.Exception ex) {
			_EJS_s.setCheckedException(ex);
			throw ex;
		} catch (Throwable ex) {
			_EJS_s.setUncheckedException(ex);
			throw new RemoteException(
				"bean method raised unchecked exception",
				ex);
		} finally {
			container.postInvoke(this, 0, _EJS_s);
		}
		return _EJS_result;
	}
}
