diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-01-19 16:59:41 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-01-19 16:59:41 +0000 |
commit | 88d55d270b358200a787b6bf519d3d5357fe4a43 (patch) | |
tree | 37f187ff90063250adc178d2900212dd030e6c29 /cpp/src/Transform/Exception.cpp | |
parent | fixed IceStorm test to not rely on sleep() (diff) | |
download | ice-88d55d270b358200a787b6bf519d3d5357fe4a43.tar.bz2 ice-88d55d270b358200a787b6bf519d3d5357fe4a43.tar.xz ice-88d55d270b358200a787b6bf519d3d5357fe4a43.zip |
removing old Transform code, tests
Diffstat (limited to 'cpp/src/Transform/Exception.cpp')
-rw-r--r-- | cpp/src/Transform/Exception.cpp | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/cpp/src/Transform/Exception.cpp b/cpp/src/Transform/Exception.cpp deleted file mode 100644 index e6b030bf178..00000000000 --- a/cpp/src/Transform/Exception.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003 -// ZeroC, Inc. -// Billerica, MA, USA -// -// All Rights Reserved. -// -// Ice is free software; you can redistribute it and/or modify it under -// the terms of the GNU General Public License version 2 as published by -// the Free Software Foundation. -// -// ********************************************************************** - -#include <Transform/Exception.h> - -using namespace std; - -// -// TransformException -// -Transform::TransformException::TransformException(const char* file, int line, const string& reason) : - IceUtil::Exception(file, line), _reason(reason) -{ -} - -string Transform::TransformException::_name = "Transform:TransformException"; - -const string& -Transform::TransformException::ice_name() const -{ - return _name; -} - -void -Transform::TransformException::ice_print(ostream& out) const -{ - Exception::ice_print(out); - out << ":\nerror occurred during transformation"; - if(!_reason.empty()) - { - out << ":\n" << _reason; - } -} - -IceUtil::Exception* -Transform::TransformException::ice_clone() const -{ - return new TransformException(ice_file(), ice_line(), _reason); -} - -void -Transform::TransformException::ice_throw() const -{ - throw *this; -} - -string -Transform::TransformException::reason() const -{ - return _reason; -} |