Mercurial > hg > svcore
comparison base/Exceptions.cpp @ 387:7aa1de571880
* juggle some files around in order to free audioio, base, and system libraries
from dependency on QtGui
author | Chris Cannam |
---|---|
date | Wed, 12 Mar 2008 17:42:56 +0000 |
parents | b290c43f01ec |
children | 65d955c4d671 |
comparison
equal
deleted
inserted
replaced
386:e6d11871e4c9 | 387:7aa1de571880 |
---|---|
105 { | 105 { |
106 return QString("Not enough space available in \"%1\": need %2, have %3") | 106 return QString("Not enough space available in \"%1\": need %2, have %3") |
107 .arg(m_directory).arg(m_required).arg(m_available).toLocal8Bit().data(); | 107 .arg(m_directory).arg(m_required).arg(m_available).toLocal8Bit().data(); |
108 } | 108 } |
109 | 109 |
110 AllocationFailed::AllocationFailed(QString purpose) throw() : | |
111 m_purpose(purpose) | |
112 { | |
113 std::cerr << "ERROR: Allocation failed: " << purpose.toStdString() | |
114 << std::endl; | |
115 } | |
116 | |
117 const char * | |
118 AllocationFailed::what() const throw() | |
119 { | |
120 return QString("Allocation failed: %1") | |
121 .arg(m_purpose).toLocal8Bit().data(); | |
122 } | |
123 | |
124 |