activemq-cpp-3.8.2
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 
24 namespace 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 
45  virtual ~MessageNotReadableException() throw();
46 
47  virtual MessageNotReadableException* clone();
48 
49  };
50 
51 }
52 
53 #endif /*_CMS_MESSAGENOTREADABLEEXCEPTION_H_*/
#define CMS_API
Definition: Config.h:31
CMS API Exception that is the base for all exceptions thrown from CMS classes.
Definition: CMSException.h:50
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: DestinationResolver.h:23
This exception must be thrown when a CMS client attempts to read a write-only message.
Definition: MessageNotReadableException.h:31