MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / LCDException

Class LCDException

src/server/lcdapi/api/LCDException.h:31–52  ·  view source on GitHub ↗

\class LCDException LCDException.h "api/LCDException.h" * \brief The exceptions thrown by this API. * \ingroup main * This class is for the exceptions thrown by the API if a problem occurs. */

Source from the content-addressed store, hash-verified

29 * This class is for the exceptions thrown by the API if a problem occurs.
30 */
31class LCDException {
32 private:
33 std::string _desc;
34
35 public:
36
37 explicit LCDException(const std::string& desc);
38
39 ~LCDException();
40
41 LCDException(const LCDException& original);
42 const LCDException& operator=(const LCDException& rhs);
43
44 /**
45 * \brief Get a textual description of the problem that occured.
46 *
47 * When an exception is caught, this method can be called to have a
48 * description of the problem.
49 * \return A string containing the error description.
50 */
51 std::string what() const;
52};
53
54} // end of lcdapi namespace
55

Callers 5

initializeMethod · 0.85
connectMethod · 0.85
sendMethod · 0.85
recvMethod · 0.85
sendCommandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected