2 |
* * |
* * |
3 |
* libgig - C++ cross-platform Gigasampler format file access library * |
* libgig - C++ cross-platform Gigasampler format file access library * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003-2016 by Christian Schoenebeck * |
* Copyright (C) 2003-2017 by Christian Schoenebeck * |
6 |
* <cuse@users.sourceforge.net> * |
* <cuse@users.sourceforge.net> * |
7 |
* * |
* * |
8 |
* This library is free software; you can redistribute it and/or modify * |
* This library is free software; you can redistribute it and/or modify * |
1968 |
// *************** Exception *************** |
// *************** Exception *************** |
1969 |
// * |
// * |
1970 |
|
|
1971 |
Exception::Exception(String Message) : RIFF::Exception(Message) { |
Exception::Exception() : RIFF::Exception() { |
1972 |
|
} |
1973 |
|
|
1974 |
|
Exception::Exception(String format, ...) : RIFF::Exception() { |
1975 |
|
va_list arg; |
1976 |
|
va_start(arg, format); |
1977 |
|
Message = assemble(format, arg); |
1978 |
|
va_end(arg); |
1979 |
|
} |
1980 |
|
|
1981 |
|
Exception::Exception(String format, va_list arg) : RIFF::Exception() { |
1982 |
|
Message = assemble(format, arg); |
1983 |
} |
} |
1984 |
|
|
1985 |
void Exception::PrintMessage() { |
void Exception::PrintMessage() { |