|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <exception>#include <ios>#include <new>#include <stdexcept>#include <typeinfo>#include <csignal>#include <cstdio>#include <cstring>#include <rw/_error.h>#include <sys/resource.h>#include <rw_driver.h>#include <csetjmp>
Go to the source code of this file.
Data Structures | |
| struct | UncaughtExceptionCheck |
| struct | Base< T > |
| struct | Derived1 |
| struct | Derived2< T > |
Macros | |
| #define | RW_JMP_BUF std::jmp_buf |
| #define | RW_SETJMP(env) std::setjmp (env) |
| #define | RW_LONGJMP(env, val) std::longjmp (env, val) |
| #define | MEMFUN(result, T, name, arg_list) |
Enumerations | |
| enum | RuntimeExceptionId { E_bad_alloc , E_bad_cast , E_bad_exception , E_bad_typeid , E_error } |
Functions | |
| int | main (int argc, char *argv[]) |
Variables | |
| std::unexpected_handler | puh |
| std::terminate_handler | pth |
| int | expect_abort |
| int | expect_terminate |
| int | expect_unexpected |
| int | expect_throw_proc |
| RW_JMP_BUF | jmpenv |
| #define RW_JMP_BUF std::jmp_buf |
exception.cpp - test exercising [lib.support.exception]
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2001-2007 Rogue Wave Software, Inc.
Definition at line 94 of file 18.exception.cpp.
Definition at line 100 of file 18.exception.cpp.
| #define RW_SETJMP | ( | env | ) | std::setjmp (env) |
Definition at line 98 of file 18.exception.cpp.
| enum RuntimeExceptionId |
| Enumerator | |
|---|---|
| E_bad_alloc | |
| E_bad_cast | |
| E_bad_exception | |
| E_bad_typeid | |
| E_error | |
Definition at line 756 of file 18.exception.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 1082 of file 18.exception.cpp.
| int expect_abort |
Definition at line 244 of file 18.exception.cpp.
| int expect_terminate |
Definition at line 245 of file 18.exception.cpp.
| int expect_throw_proc |
Definition at line 247 of file 18.exception.cpp.
| int expect_unexpected |
Definition at line 246 of file 18.exception.cpp.
| RW_JMP_BUF jmpenv |
Definition at line 248 of file 18.exception.cpp.
Definition at line 243 of file 18.exception.cpp.
Definition at line 242 of file 18.exception.cpp.