Changeset 5674


Ignore:
Timestamp:
11/05/09 16:24:04 (10 years ago)
Author:
curtis
Message:

Tweak error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/native/itk-plugin/itkBioFormatsImageIO.cxx

    r5673 r5674  
    9494    } 
    9595    catch (JNIException& jniException) { 
    96       itkDebugMacro("A JNI error occurred. " << jniException.what()); 
     96      itkDebugMacro("A JNI error occurred: " << jniException.what()); 
    9797    } 
    9898    catch (std::exception& e) { 
    99       itkDebugMacro("A C++ error occurred. " << e.what()); 
     99      itkDebugMacro("A C++ error occurred: " << e.what()); 
    100100    } 
    101101  } // end constructor 
     
    126126    } 
    127127    catch (JNIException& jniException) { 
    128       itkDebugMacro("A JNI error occurred. " << jniException.what()); 
     128      itkDebugMacro("A JNI error occurred: " << jniException.what()); 
    129129    } 
    130130    catch (std::exception& e) { 
    131       itkDebugMacro("A C++ error occurred. " << e.what()); 
     131      itkDebugMacro("A C++ error occurred: " << e.what()); 
    132132    } 
    133133    return isType; 
     
    242242    } 
    243243    catch (JNIException& jniException) { 
    244       itkDebugMacro("A JNI error occurred. " << jniException.what()); 
     244      itkDebugMacro("A JNI error occurred: " << jniException.what()); 
    245245    } 
    246246    catch (std::exception& e) { 
    247       itkDebugMacro("A C++ error occurred. " << e.what()); 
     247      itkDebugMacro("A C++ error occurred: " << e.what()); 
    248248    } 
    249249  } // end ReadImageInformation function 
     
    352352    catch (JNIException& jniException) { 
    353353      itkDebugMacro( 
    354         "A JNI error occurred. " << jniException.what()); 
     354        "A JNI error occurred: " << jniException.what()); 
    355355    } 
    356356    catch (std::exception& e) { 
    357       itkDebugMacro("A C++ error occurred. " << e.what()); 
     357      itkDebugMacro("A C++ error occurred: " << e.what()); 
    358358    } 
    359359    itkDebugMacro("Done."); 
     
    380380    } 
    381381    catch (JNIException& jniException) { 
    382       itkDebugMacro("A JNI error occurred. " << jniException.what()); 
     382      itkDebugMacro("A JNI error occurred: " << jniException.what()); 
    383383    } 
    384384    catch (std::exception& e) { 
    385       itkDebugMacro("A C++ error occurred. " << e.what()); 
     385      itkDebugMacro("A C++ error occurred: " << e.what()); 
    386386    } 
    387387    return isType; 
Note: See TracChangeset for help on using the changeset viewer.