Changeset 7174 for code/trunk/src/orxonox
- Timestamp:
- Aug 18, 2010, 12:08:05 AM (14 years ago)
- Location:
- code/trunk/src/orxonox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/graphics/ParticleEmitter.cc
r5929 r7174 114 114 this->particles_->setEnabled(this->isActive()); 115 115 } 116 catch ( ...)116 catch (const std::exception& ex) 117 117 { 118 118 COUT(1) << "Error: Couln't load particle effect \"" << this->source_ << "\" because:" << std::endl 119 << Exception::handleMessage() << std::endl;119 << ex.what() << std::endl; 120 120 } 121 121 } -
code/trunk/src/orxonox/sound/SoundManager.cc
r6417 r7174 521 521 buffer.reset(new SoundBuffer(filename, this->effectsPool_.end())); 522 522 } 523 catch ( ...)524 { 525 COUT(1) << Exception::handleMessage() << std::endl;523 catch (const std::exception& ex) 524 { 525 COUT(1) << ex.what() << std::endl; 526 526 return buffer; 527 527 } -
code/trunk/src/orxonox/worldentities/BigExplosion.cc
r7171 r7174 72 72 this->init(); 73 73 } 74 catch ( ...)75 { 76 COUT(1) << "Error: Couln't load particle effect in BigExplosion: " << Exception::handleMessage() << std::endl;74 catch (const std::exception& ex) 75 { 76 COUT(1) << "Error: Couln't load particle effect in BigExplosion: " << ex.what() << std::endl; 77 77 this->initZero(); 78 78 } -
code/trunk/src/orxonox/worldentities/ExplosionChunk.cc
r5929 r7174 59 59 this->attachOgreObject(this->smoke_->getParticleSystem()); 60 60 } 61 catch ( ...)61 catch (const std::exception& ex) 62 62 { 63 COUT(1) << "Error: Couln't load particle effect in ExplosionChunk: " << Exception::handleMessage() << std::endl;63 COUT(1) << "Error: Couln't load particle effect in ExplosionChunk: " << ex.what() << std::endl; 64 64 this->fire_ = 0; 65 65 this->smoke_ = 0;
Note: See TracChangeset
for help on using the changeset viewer.