exc_thrower.cxx (9d7e27ac) exc_thrower.cxx (d9aeb0c3)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 152 unchanged lines hidden (view full) ---

161void ExceptionThrower::release() throw ()
162{
163}
164
165//______________________________________________________________________________
166void ExceptionThrower::throwException( Any const & exc ) throw (Exception)
167{
168 OSL_ENSURE( 0, "unexpected!" );
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 152 unchanged lines hidden (view full) ---

161void ExceptionThrower::release() throw ()
162{
163}
164
165//______________________________________________________________________________
166void ExceptionThrower::throwException( Any const & exc ) throw (Exception)
167{
168 OSL_ENSURE( 0, "unexpected!" );
169 throwException( exc );
169 ::cppu::throwException( exc );
170}
171
172//______________________________________________________________________________
173void ExceptionThrower::rethrowException() throw (Exception)
174{
175 throw;
176}
177

--- 117 unchanged lines hidden ---
170}
171
172//______________________________________________________________________________
173void ExceptionThrower::rethrowException() throw (Exception)
174{
175 throw;
176}
177

--- 117 unchanged lines hidden ---