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

@@ -20,13 +20,13 @@ CInputPacketStream::~CInputPacketStream()
// do nothing
}
void CInputPacketStream::close() throw(XIO)
void CInputPacketStream::close()
{
getStream()->close();
}
UInt32 CInputPacketStream::read(
void* buffer, UInt32 n) throw(XIO)
void* buffer, UInt32 n)
{
CLock lock(&m_mutex);
@@ -50,13 +50,13 @@ UInt32 CInputPacketStream::read(
return n;
}
UInt32 CInputPacketStream::getSize() const throw()
UInt32 CInputPacketStream::getSize() const
{
CLock lock(&m_mutex);
return getSizeNoLock();
}
UInt32 CInputPacketStream::getSizeNoLock() const throw()
UInt32 CInputPacketStream::getSizeNoLock() const
{
while (!hasFullMessage()) {
// read more data
@@ -76,7 +76,7 @@ UInt32 CInputPacketStream::getSizeNoLock() const throw()
return m_size;
}
bool CInputPacketStream::hasFullMessage() const throw()
bool CInputPacketStream::hasFullMessage() const
{
// get payload length if we don't have it yet
if (m_size == 0) {