Changeset 1136:64bd785bb0cc


Ignore:
Timestamp:
04/09/09 12:09:02 (16 months ago)
Author:
Howard Butler <hobu.inc@…>
Branch:
default
Convert:
svn:1766ff46-f334-0410-ab20-d63176f87757/trunk@1198
Message:

try again on r1197 because we throw different exceptions depending on whether or not -DDEBUG is defined... ugh

Location:
src/detail
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/detail/reader10.cpp

    r1135 r1136  
    222222        // file with just a header and no pad 
    223223    } 
     224    catch (std::runtime_error const& e) 
     225    { 
     226        // Ignore the runtime_error here for the case of a  
     227        // file with just a header and no pad 
     228        // This is what is thrown when we compile *without* debug 
     229    }     
    224230    catch (std::domain_error const& e) 
    225231    { 
  • src/detail/reader11.cpp

    r1135 r1136  
    227227        // file with just a header and no pad 
    228228    } 
    229  
     229    catch (std::runtime_error const& e) 
     230    { 
     231        // Ignore the runtime_error here for the case of a  
     232        // file with just a header and no pad 
     233        // This is what is thrown when we compile *without* debug 
     234    }     
    230235    catch (std::domain_error const& e) 
    231236    { 
  • src/detail/reader12.cpp

    r1135 r1136  
    232232        // Ignore the out_of_range here for the case of a  
    233233        // file with just a header and no pad 
    234     } 
     234        // This is what is thrown when we compile *with* debug 
     235    } 
     236    catch (std::runtime_error const& e) 
     237    { 
     238        // Ignore the runtime_error here for the case of a  
     239        // file with just a header and no pad 
     240        // This is what is thrown when we compile *without* debug 
     241    }     
    235242    catch (std::domain_error const& e) 
    236243    { 
Note: See TracChangeset for help on using the changeset viewer.