diff options
author | Marc Laukien <marc@zeroc.com> | 2001-09-17 03:53:34 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-09-17 03:53:34 +0000 |
commit | 04cb7fa855e0d6acfa259857e70899fd521421b4 (patch) | |
tree | d0d3ff70a2f3762dd374d13cc44b2e5275cd87f3 /cpp/src/Ice/LocalException.cpp | |
parent | lots of Freeze fixes (diff) | |
download | ice-04cb7fa855e0d6acfa259857e70899fd521421b4.tar.bz2 ice-04cb7fa855e0d6acfa259857e70899fd521421b4.tar.xz ice-04cb7fa855e0d6acfa259857e70899fd521421b4.zip |
fixes, fixes, fixes..
Diffstat (limited to 'cpp/src/Ice/LocalException.cpp')
-rw-r--r-- | cpp/src/Ice/LocalException.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/cpp/src/Ice/LocalException.cpp b/cpp/src/Ice/LocalException.cpp index 7b83095d853..976ede001e7 100644 --- a/cpp/src/Ice/LocalException.cpp +++ b/cpp/src/Ice/LocalException.cpp @@ -473,38 +473,38 @@ Ice::OperationNotExistException::raise() const throw *this; } -Ice::NoFactoryException::NoFactoryException(const char* file, int line) : +Ice::NoServantFactoryException::NoServantFactoryException(const char* file, int line) : LocalException(file, line) { } -Ice::NoFactoryException::NoFactoryException(const NoFactoryException& ex) : +Ice::NoServantFactoryException::NoServantFactoryException(const NoServantFactoryException& ex) : LocalException(ex) { } -NoFactoryException& -Ice::NoFactoryException::operator=(const NoFactoryException& ex) +NoServantFactoryException& +Ice::NoServantFactoryException::operator=(const NoServantFactoryException& ex) { LocalException::operator=(ex); return *this; } string -Ice::NoFactoryException::toString() const +Ice::NoServantFactoryException::toString() const { - string s = debugInfo() + "no factory installed for class with operations"; + string s = debugInfo() + "no servant factory found for the requested servant type"; return s; } LocalException* -Ice::NoFactoryException::clone() const +Ice::NoServantFactoryException::clone() const { - return new NoFactoryException(*this); + return new NoServantFactoryException(*this); } void -Ice::NoFactoryException::raise() const +Ice::NoServantFactoryException::raise() const { throw *this; } @@ -839,37 +839,37 @@ Ice::UnmarshalOutOfBoundsException::raise() const throw *this; } -Ice::ValueUnmarshalException::ValueUnmarshalException(const char* file, int line) : +Ice::ServantUnmarshalException::ServantUnmarshalException(const char* file, int line) : ProtocolException(file, line) { } -Ice::ValueUnmarshalException::ValueUnmarshalException(const ValueUnmarshalException& ex) : +Ice::ServantUnmarshalException::ServantUnmarshalException(const ServantUnmarshalException& ex) : ProtocolException(ex) { } -ValueUnmarshalException& -Ice::ValueUnmarshalException::operator=(const ValueUnmarshalException& ex) +ServantUnmarshalException& +Ice::ServantUnmarshalException::operator=(const ServantUnmarshalException& ex) { ProtocolException::operator=(ex); return *this; } string -Ice::ValueUnmarshalException::toString() const +Ice::ServantUnmarshalException::toString() const { - return debugInfo() + "protocol error: value type does not match signature"; + return debugInfo() + "protocol error: servant type does not match signature"; } LocalException* -Ice::ValueUnmarshalException::clone() const +Ice::ServantUnmarshalException::clone() const { - return new ValueUnmarshalException(*this); + return new ServantUnmarshalException(*this); } void -Ice::ValueUnmarshalException::raise() const +Ice::ServantUnmarshalException::raise() const { throw *this; } |