components/stdcxx/patches/027-exception.h.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 402 94ae4d75524c
permissions -rw-r--r--
Close of build 04.

--- stdcxx-4.2.1/include/exception.h	2009-06-08 10:13:00.142092000 -0400
+++ stdcxx-4.2.1/include/exception.h	2007-05-03 05:51:01.000000000 -0400
@@ -0,0 +1,29 @@
+/*
+        Copyright 07/02/98 Sun Microsystems, Inc. All Rights Reserved
+*/
+/* exception.h
+
+   @(#)exception.h	1.2  07/02/98 11:32:35
+
+   Compatibility declaration for ISO standard exception interface
+*/
+
+#ifndef EXCEPTION_H
+#define EXCEPTION_H
+
+#include <exception>
+#include <new>
+
+using std::exception;
+using std::bad_exception;
+using std::set_unexpected;
+using std::unexpected;
+using std::set_terminate;
+using std::terminate;
+
+typedef std::exception xmsg;
+typedef std::bad_exception xunexpected;
+
+typedef std::bad_alloc xalloc;
+
+#endif