}
catch( std::exception &e )
{
- ZYPP_THROW (Exception( "Can't write flags to store") );
+ ZYPP_THROW(Exception("Can't write flags to store"));
}
updateTimestamp();
}
break;
}
}
- catch (const Exception & excpt_r) {
+ catch (const Exception & excpt_r)
+ {
ZYPP_CAUGHT( excpt_r );
WAR << "Skipping invalid patch file " << file_path << endl;
}
catch (const Exception & excpt_r)
{
ZYPP_CAUGHT(excpt_r);
- ZYPP_THROW(Exception("Cannot create patch object"));
+ Exception nexcpt("Cannot create patch object");
+ nexcpt.remember(excpt_r);
+ ZYPP_THROW(nexcpt);
}
return 0L;
}
catch (const Exception & excpt_r)
{
ZYPP_CAUGHT(excpt_r);
- ZYPP_THROW(Exception("Cannot create atom object"));
+ Exception nexcpt("Cannot create atom object");
+ nexcpt.remember(excpt_r);
+ ZYPP_THROW(nexcpt);
}
return 0L;
}
catch (const Exception & excpt_r)
{
ZYPP_CAUGHT(excpt_r);
- ZYPP_THROW(Exception("Cannot create message object"));
+ Exception nexcpt("Cannot create message object");
+ nexcpt.remember(excpt_r);
+ ZYPP_THROW(nexcpt);
}
return 0L;
}
catch (const Exception & excpt_r)
{
ZYPP_CAUGHT(excpt_r);
- ZYPP_THROW(Exception("Cannot create script object"));
+ Exception nexcpt("Cannot create script object");
+ nexcpt.remember(excpt_r);
+ ZYPP_THROW(nexcpt);
}
catch (const std::exception & excpt_r)
{
catch (const Exception & excpt_r)
{
ZYPP_CAUGHT(excpt_r);
- ZYPP_THROW(Exception("Cannot create language object"));
+ Exception nexcpt("Cannot create language object");
+ nexcpt.remember(excpt_r);
+ ZYPP_THROW(nexcpt);
}
return 0L;
}
}
catch ( const Exception &e )
{
- ZYPP_THROW(Exception("Error parsing update url: " + e.msg()));
+ ZYPP_CAUGHT(e);
+ Exception ne("Error parsing update url: " + e.msg());
+ ne.remember(e);
+ ZYPP_THROW(ne);
}
}
}
catch ( const Exception &e )
{
- ZYPP_THROW(Exception("Error parsing extra url: " + e.msg()));
+ ZYPP_CAUGHT(e);
+ Exception ne("Error parsing extra url: " + e.msg());
+ ne.remember(e);
+ ZYPP_THROW(ne);
}
}
}
catch ( const Exception &e )
{
- ZYPP_THROW(Exception("Error parsing optional url: " + e.msg()));
+ ZYPP_CAUGHT(e);
+ Exception ne("Error parsing optional url: " + e.msg());
+ ne.remember(e);
+ ZYPP_THROW(ne);
}
}
catch (const Exception & excpt_r)
{
ZYPP_CAUGHT(excpt_r);
- ZYPP_THROW(Exception("Cannot create product object"));
+ Exception nexcpt("Cannot create product object");
+ nexcpt.remember(excpt_r);
+ ZYPP_THROW(nexcpt);
}
return 0L;
}
catch (const Exception & excpt_r)
{
ZYPP_CAUGHT(excpt_r);
- ZYPP_THROW(Exception("Cannot create installation pattern object"));
+ Exception nexcpt("Cannot create installation pattern object");
+ nexcpt.remember(excpt_r);
+ ZYPP_THROW(nexcpt);
}
return 0L;
}
catch (const Exception & excpt_r)
{
ZYPP_CAUGHT(excpt_r);
- ZYPP_THROW(Exception("Cannot create installation selection object"));
+ Exception nexcpt("Cannot create installation selection object");
+ nexcpt.remember(excpt_r);
+ ZYPP_THROW(nexcpt);
}
return 0L;
}