activemq-cpp-3.9.5
IllegalStateException.h
Go to the documentation of this file.
1
18#ifndef _CMS_ILLEGALSTATEEXCEPTION_H_
19#define _CMS_ILLEGALSTATEEXCEPTION_H_
20
21#include <cms/Config.h>
22#include <cms/CMSException.h>
23
24namespace cms {
25
35 public:
36
38
40
41 IllegalStateException(const std::string& message);
42
43 IllegalStateException(const std::string& message, const std::exception* cause);
44
45 IllegalStateException(const std::string& message, const std::exception* cause,
46 const std::vector<std::pair<std::string, int> >& stackTrace);
47
48 virtual ~IllegalStateException() throw();
49
50 virtual IllegalStateException* clone();
51
52 };
53
54}
55
56#endif /*_CMS_ILLEGALSTATEEXCEPTION_H_*/
CMS API Exception that is the base for all exceptions thrown from CMS classes.
Definition: CMSException.h:50
This exception is thrown when a method is invoked at an illegal or inappropriate time or if the provi...
Definition: IllegalStateException.h:34
IllegalStateException(const std::string &message, const std::exception *cause)
IllegalStateException(const std::string &message, const std::exception *cause, const std::vector< std::pair< std::string, int > > &stackTrace)
IllegalStateException(const IllegalStateException &ex)
IllegalStateException(const std::string &message)
#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