summaryrefslogtreecommitdiff
path: root/Final/cpp/lib/common/ExceptionHolder.cpp
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2007-11-16 15:17:48 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2007-11-16 15:17:48 +0000
commit93a38405fd2809e77f185d6a9ccba64dd0cde6d6 (patch)
tree0a8fada9355c9c5cc9550d5c7a1e00b7fefb2d95 /Final/cpp/lib/common/ExceptionHolder.cpp
parent4870c31ab6b17965efc54437d9ebe856eb41d220 (diff)
downloadqpid-python-93a38405fd2809e77f185d6a9ccba64dd0cde6d6.tar.gz
I moved the branch to a tag instead of copying by mistake,I am undoing the mistake by reversing it
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/tags/M2@595696 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Final/cpp/lib/common/ExceptionHolder.cpp')
-rw-r--r--Final/cpp/lib/common/ExceptionHolder.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/Final/cpp/lib/common/ExceptionHolder.cpp b/Final/cpp/lib/common/ExceptionHolder.cpp
deleted file mode 100644
index 34079d2f25..0000000000
--- a/Final/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()));
- }
-}
-
-}