public Command getCommand(int commandCode) throws Exception
    {
        
        Class<? extends Command> cls = dictCodeToClass.get(commandCode);
        if(cls == null )
            throw new UnknownCommandException();
        return cls.newInstance();  
    }