aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop
diff options
context:
space:
mode:
authorTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2019-02-04 16:20:56 +0000
committerTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2019-02-04 16:20:56 +0000
commitf774b7c2f24553ebdaa60f1894d358aeea7ccbef (patch)
tree13708c393dfffded87b26aef1d10e43a257d80a5 /Gem/develop
parent31ff6016efc4988fcca9cab6d90b1f435eadc0f3 (diff)
Gem 56ba69d2d2e2137785b9ca4f27f8600f3d2e24e4 linux/amd64
built 'master:56ba69d2d2e2137785b9ca4f27f8600f3d2e24e4' for linux/amd64
Diffstat (limited to 'Gem/develop')
-rw-r--r--Gem/develop/include/Gem/Gem/Exception.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/Gem/develop/include/Gem/Gem/Exception.h b/Gem/develop/include/Gem/Gem/Exception.h
index d09a480..96051e0 100644
--- a/Gem/develop/include/Gem/Gem/Exception.h
+++ b/Gem/develop/include/Gem/Gem/Exception.h
@@ -32,22 +32,18 @@ DESCRIPTION
#define _INCLUDE__GEM_GEM_EXCEPTION_H_
#include "Gem/ExportDef.h"
-#include <string>
+#include <stdexcept>
+
typedef struct _text t_object;
-class GEM_EXTERN GemException
+class GEM_EXTERN GemException : public std::runtime_error
{
public:
GemException(void);
explicit GemException(const char*error);
explicit GemException(const std::string&error);
- virtual ~GemException(void);
-
- virtual const char *what(void) const;
virtual void report(const char*origin=0) const;
-private:
- const char*ErrorString;
};
namespace gem