activemq-cpp-3.9.5
MessageNotReadableException.h
Go to the documentation of this file.
1
18#ifndef _CMS_MESSAGENOTREADABLEEXCEPTION_H_
19#define _CMS_MESSAGENOTREADABLEEXCEPTION_H_
20
21#include <cms/Config.h>
22#include <cms/CMSException.h>
23
24namespace cms {
25
32 public:
33
35
37
38 MessageNotReadableException(const std::string& message);
39
40 MessageNotReadableException(const std::string& message, const std::exception* cause);
41
42 MessageNotReadableException(const std::string& message, const std::exception* cause,
43 const std::vector<std::pair<std::string, int> >& stackTrace);
44
46
48
49 };
50
51}
52
53#endif /*_CMS_MESSAGENOTREADABLEEXCEPTION_H_*/
CMS API Exception that is the base for all exceptions thrown from CMS classes.
Definition: CMSException.h:50
This exception must be thrown when a CMS client attempts to read a write-only message.
Definition: MessageNotReadableException.h:31
MessageNotReadableException(const std::string &message, const std::exception *cause)
MessageNotReadableException(const std::string &message, const std::exception *cause, const std::vector< std::pair< std::string, int > > &stackTrace)
MessageNotReadableException(const std::string &message)
MessageNotReadableException(const MessageNotReadableException &ex)
#define CMS_API
Definition: Config.h:31
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: DestinationResolver.h:23