summaryrefslogtreecommitdiffstats
path: root/contrib/libcxxrt/stdexcept.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libcxxrt/stdexcept.h')
-rw-r--r--contrib/libcxxrt/stdexcept.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/libcxxrt/stdexcept.h b/contrib/libcxxrt/stdexcept.h
index 49eaf55..8920393 100644
--- a/contrib/libcxxrt/stdexcept.h
+++ b/contrib/libcxxrt/stdexcept.h
@@ -81,6 +81,15 @@ namespace std
virtual const char* what() const throw();
};
+ class bad_array_new_length: public bad_alloc
+ {
+ public:
+ bad_array_new_length() throw();
+ bad_array_new_length(const bad_array_new_length&) throw();
+ bad_array_new_length& operator=(const bad_array_new_length&) throw();
+ virtual ~bad_array_new_length();
+ virtual const char *what() const throw();
+ };
} // namespace std
OpenPOWER on IntegriCloud