Browse Source

Improve JackException.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2471 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.90
sletz 17 years ago
parent
commit
052cb13be9
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      common/JackException.h

+ 4
- 1
common/JackException.h View File

@@ -45,7 +45,8 @@ namespace Jack
void PrintMessage()
{
std::string str = what();
jack_info(str.c_str());
if (str != "")
jack_info(str.c_str());
}
};
@@ -56,6 +57,8 @@ namespace Jack
JackDriverException(const std::string& msg) : JackException(msg)
{}
JackDriverException(const char* msg) : JackException(msg)
{}
JackDriverException() : JackException("")
{}
};



Loading…
Cancel
Save