removed exception specifications. thread exceptions weren't

being listed and they'd have to be added to every one.  just
doesn't seem worth the trouble.
This commit is contained in:
crs
2001-10-14 16:58:01 +00:00
parent c6ed114410
commit 6aba3a6f57
50 changed files with 269 additions and 272 deletions

View File

@@ -27,7 +27,7 @@ CBufferedInputStream::~CBufferedInputStream()
}
void CBufferedInputStream::write(
const void* data, UInt32 n) throw()
const void* data, UInt32 n)
{
if (!m_hungup && n > 0) {
m_buffer.write(data, n);
@@ -36,14 +36,14 @@ void CBufferedInputStream::write(
}
}
void CBufferedInputStream::hangup() throw()
void CBufferedInputStream::hangup()
{
m_hungup = true;
m_empty.broadcast();
}
UInt32 CBufferedInputStream::readNoLock(
void* dst, UInt32 n) throw(XIO)
void* dst, UInt32 n)
{
if (m_closed) {
throw XIOClosed();
@@ -74,12 +74,12 @@ UInt32 CBufferedInputStream::readNoLock(
return n;
}
UInt32 CBufferedInputStream::getSizeNoLock() const throw()
UInt32 CBufferedInputStream::getSizeNoLock() const
{
return m_buffer.getSize();
}
void CBufferedInputStream::close() throw(XIO)
void CBufferedInputStream::close()
{
CLock lock(m_mutex);
if (m_closed) {
@@ -93,13 +93,13 @@ void CBufferedInputStream::close() throw(XIO)
}
UInt32 CBufferedInputStream::read(
void* dst, UInt32 n) throw(XIO)
void* dst, UInt32 n)
{
CLock lock(m_mutex);
return readNoLock(dst, n);
}
UInt32 CBufferedInputStream::getSize() const throw()
UInt32 CBufferedInputStream::getSize() const
{
CLock lock(m_mutex);
return getSizeNoLock();