diff options
| author | Aidan Skinner <aidan@apache.org> | 2008-04-08 22:46:06 +0000 |
|---|---|---|
| committer | Aidan Skinner <aidan@apache.org> | 2008-04-08 22:46:06 +0000 |
| commit | ab2adaf558274f39174caf62e271b15b053d6e0a (patch) | |
| tree | 9d462e745dac2c22c09a9c006cc180c50f27f148 /RC3/cpp/lib/common/ExceptionHolder.cpp | |
| parent | adb335a3052a59c8c3e465ada38853cea452b23d (diff) | |
| download | qpid-python-ab2adaf558274f39174caf62e271b15b053d6e0a.tar.gz | |
Nuke
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/tags/M2.1@646113 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'RC3/cpp/lib/common/ExceptionHolder.cpp')
| -rw-r--r-- | RC3/cpp/lib/common/ExceptionHolder.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/RC3/cpp/lib/common/ExceptionHolder.cpp b/RC3/cpp/lib/common/ExceptionHolder.cpp deleted file mode 100644 index 34079d2f25..0000000000 --- a/RC3/cpp/lib/common/ExceptionHolder.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/* - * - * 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. - * - */ - -#include "ExceptionHolder.h" - -namespace qpid { - -ExceptionHolder::ExceptionHolder(const std::exception& e) { - const Exception* ex = dynamic_cast<const Exception*>(&e); - if (ex) { - reset(ex->clone()); - } else { - reset(new Exception(e.what())); - } -} - -} |
