18 #ifndef _CMS_CMSEXCEPTION_H_ 19 #define _CMS_CMSEXCEPTION_H_ 31 class CMSExceptionData;
54 CMSExceptionData* data;
64 CMSException(
const std::string& message,
const std::exception* cause);
66 CMSException(
const std::string& message,
const std::exception* cause,
67 const std::vector<std::pair<std::string, int> >& stackTrace);
76 virtual std::string getMessage()
const;
87 virtual const std::exception* getCause()
const;
95 virtual std::vector< std::pair< std::string, int> > getStackTrace()
const;
102 virtual void setMark(
const char* file,
const int lineNumber);
107 virtual void printStackTrace()
const;
114 virtual void printStackTrace(std::ostream& stream)
const;
121 virtual std::string getStackTraceString()
const;
128 virtual const char* what()
const throw();
#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