Not needed try/catch in jpegStreamCodecImpl.cpp
Issue #300
resolved
In jpegStreamCodecImpl.cpp the following try/catch can be removed since the catch later on will work:
///////////////////////////////////////////////////////////
std::uint8_t jpegSignature[2];
try
{
pStream->read(jpegSignature, 2);
}
catch(StreamEOFError&)
{
IMEBRA_THROW(CodecWrongFormatError, "readStream detected a wrong format");
}
Comments (4)
-
reporter -
reporter Addresses
#300. Updated changes log→ <<cset 8dfad2aeea0854b21794c2b84fb833e70df8f77d>>
-
reporter - changed status to resolved
Resolves
#300(not needed try/catch in jpegStreamCodecImpl.cpp) as per SOP DEVENH/2→ <<cset 48d093b576d2d4276c9852aa3df8967ab37d1214>>
-
reporter Addresses
#300. Removed not needed try/catch→ <<cset dc6a3cc0ed1beaa94a299b31258fe01b47c2e41a>>
- Log in to comment
Addresses
#300. Removed not needed try/catch→ <<cset 32741dd28002bb9ff7bf0a808ce91f286951eb47>>