/[svn]/libgig/trunk/src/gig.cpp
ViewVC logotype

Diff of /libgig/trunk/src/gig.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3182 by schoenebeck, Sun May 14 20:40:02 2017 UTC revision 3198 by schoenebeck, Sun May 21 12:46:05 2017 UTC
# Line 2619  namespace { Line 2619  namespace {
2619    
2620              // unknown controller type              // unknown controller type
2621              default:              default:
2622                  throw gig::Exception("Unknown leverage controller type.");                  throw gig::Exception("Unknown leverage controller type (0x%x).", EncodedController);
2623          }          }
2624          return decodedcontroller;          return decodedcontroller;
2625      }      }
# Line 6473  namespace { Line 6473  namespace {
6473  // *************** Exception ***************  // *************** Exception ***************
6474  // *  // *
6475    
6476      Exception::Exception(String Message) : DLS::Exception(Message) {      Exception::Exception() : DLS::Exception() {
6477        }
6478    
6479        Exception::Exception(String format, ...) : DLS::Exception() {
6480            va_list arg;
6481            va_start(arg, format);
6482            Message = assemble(format, arg);
6483            va_end(arg);
6484        }
6485    
6486        Exception::Exception(String format, va_list arg) : DLS::Exception() {
6487            Message = assemble(format, arg);
6488      }      }
6489    
6490      void Exception::PrintMessage() {      void Exception::PrintMessage() {

Legend:
Removed from v.3182  
changed lines
  Added in v.3198

  ViewVC Help
Powered by ViewVC