Mercurial > hg > orthanc-stone
comparison Framework/Oracle/OracleCommandExceptionMessage.h @ 1134:87fbeb823375 broker
allocating messages from oracle commands on the stack
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 06 Nov 2019 15:16:45 +0100 |
parents | 8e3763d1736a |
children | a0a33e5ea5bb |
comparison
equal
deleted
inserted
replaced
1133:0e3a3be313fd | 1134:87fbeb823375 |
---|---|
35 private: | 35 private: |
36 Orthanc::OrthancException exception_; | 36 Orthanc::OrthancException exception_; |
37 | 37 |
38 public: | 38 public: |
39 OracleCommandExceptionMessage(IOracleCommand& command, | 39 OracleCommandExceptionMessage(IOracleCommand& command, |
40 const Orthanc::OrthancException& exception) : | |
41 OracleMessageBase(command), | |
42 exception_(exception) | |
43 { | |
44 } | |
45 | |
46 OracleCommandExceptionMessage(IOracleCommand& command, | |
47 const Orthanc::ErrorCode& error) : | 40 const Orthanc::ErrorCode& error) : |
48 OracleMessageBase(command), | 41 OracleMessageBase(command), |
49 exception_(error) | 42 exception_(error) |
50 { | 43 { |
51 } | 44 } |