12 #include <Poco/String.h>
17 std::string _executable;
18 std::string _arguments;
22 const std::vector<std::string> arguments) :
23 _executable(executable) {
25 _arguments = Poco::cat(std::string(
" "), arguments.begin(),
31 _executable(di._executable),
32 _arguments(di._arguments) { }
35 _executable(
"faspstream"),
39 std::string message(
"Please check to ensure that:\n");
40 message.append(
" You have a valid aspera.conf file\n");
41 message.append(
" You have a valid Aspera Client license\n");
42 message.append(
" You have installed ");
43 message.append(_executable);
44 message.append(
" properly\n");
45 message.append(
" Your firewall is not blocking your TCP or UDP ports\n");
46 message.append(
" Command-line arguments: \n");
47 message.append(_arguments);
61 _what(what), _details(info) {}
64 _what(ex._what), _details(ex._details) {}
69 virtual const char*
what()
const throw() {
return _what.c_str(); }
std::string getCommonIssueMessage() const
Definition: FaspStreamException.h:38
virtual ~FaspStreamException()
Definition: FaspStreamException.h:65
Definition: FaspStreamException.h:58
DebugInfo()
Definition: FaspStreamException.h:34
FaspStreamException(const std::string &what, const DebugInfo &info)
Definition: FaspStreamException.h:60
FaspStreamException(const std::string &what)
Definition: FaspStreamException.h:62
virtual std::string getDebugDetails() const
Definition: FaspStreamException.h:70
Definition: FaspStreamException.h:14
DebugInfo(const DebugInfo &di)
Definition: FaspStreamException.h:30
FaspStreamException(const FaspStreamException &ex)
Definition: FaspStreamException.h:63
DebugInfo(const std::string executable, const std::vector< std::string > arguments)
Definition: FaspStreamException.h:21
virtual const char * what() const
Definition: FaspStreamException.h:69