Changeset 19003
- Timestamp:
- 07/09/06 18:48:17 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/vapor/vpr/md/NSPR/Util/ErrorImplNSPR.cpp
r18824 r19003 40 40 41 41 #include <vpr/md/NSPR/Util/ErrorImplNSPR.h> 42 #include <boost/concept_check.hpp> 42 43 43 44 … … 64 65 { 65 66 msg_stream << ": " << err_name; 66 } 67 } 67 68 68 69 if ( err_str != NULL ) … … 75 76 } 76 77 78 void ErrorImplNSPR::outputCurrentError(std::ostream& out, const std::string& prefix) 79 { 80 out << "Error (NSPR): " << prefix << " (" << getCurrentErrorMsg() << ")" 81 << std::endl; 77 82 } 83 84 85 } juggler/trunk/modules/vapor/vpr/md/NSPR/Util/ErrorImplNSPR.h
r18824 r19003 56 56 static std::string getCurrentErrorMsg(); 57 57 58 static void outputCurrentError(std::ostream& out, const std::string& prefix) 59 { 60 out << "Error (NSPR): " << prefix << " (" << getCurrentErrorMsg() << ")" 61 << std::endl; 62 } 58 /** Output the current error message to a stream. */ 59 static void outputCurrentError(std::ostream& out, const std::string& prefix); 63 60 64 61 static ErrorType getCurrentError() 65 62 { 63 // TODO: Implement error conversion to get the current error. 66 64 return NoError; 67 65 } 68 66 69 67 protected: 68 /* 70 69 static PRErrorCode convertErrorVprToNspr(ErrorType mask) 71 70 { … … 77 76 return NoError; 78 77 } 78 */ 79 79 }; 80 80 juggler/trunk/modules/vapor/vpr/md/NSPR/Util/Makefile.in
r18824 r19003 52 52 53 53 ifeq (@SUBSYSTEM@, NSPR) 54 # SRCS= 54 SRCS= ErrorImplNSPR.cpp 55 55 endif 56 56
