|
|
@ -19,8 +19,19 @@ namespace storm { |
|
|
|
} |
|
|
|
|
|
|
|
const char* BaseException::what() const NOEXCEPT { |
|
|
|
errorString = this->stream.str(); |
|
|
|
errorString = this->type() + ": " + this->stream.str(); |
|
|
|
if (!this->additionalInfo().empty()) { |
|
|
|
errorString += " " + this->additionalInfo(); |
|
|
|
} |
|
|
|
return errorString.c_str(); |
|
|
|
} |
|
|
|
|
|
|
|
std::string BaseException::type() const { |
|
|
|
return "BaseException"; |
|
|
|
} |
|
|
|
|
|
|
|
std::string BaseException::additionalInfo() const { |
|
|
|
return ""; |
|
|
|
} |
|
|
|
} |
|
|
|
} |