diff options
author | Mark Spruiell <mes@zeroc.com> | 2008-06-03 19:32:20 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2008-06-03 19:32:20 -0700 |
commit | 3d649bed4328992f41f567136025f58a019a5159 (patch) | |
tree | 470be901fbbfe5c6cd4269884412b0d36b48dc92 /cppe/src/IceE/LocalException.cpp | |
parent | local interface fixes for slice2javae (diff) | |
download | ice-3d649bed4328992f41f567136025f58a019a5159.tar.bz2 ice-3d649bed4328992f41f567136025f58a019a5159.tar.xz ice-3d649bed4328992f41f567136025f58a019a5159.zip |
Various Ice-E fixes:
- Bug fix in slice2javae for local interfaces/classes
- Added Ice.LocalObjectHolder
- Reviewed Java/C++ demos and aligned with Ice
- Source code clean up (removed tabs, etc.)
Diffstat (limited to 'cppe/src/IceE/LocalException.cpp')
-rw-r--r-- | cppe/src/IceE/LocalException.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/cppe/src/IceE/LocalException.cpp b/cppe/src/IceE/LocalException.cpp index c785547149c..d35cf32c2a8 100644 --- a/cppe/src/IceE/LocalException.cpp +++ b/cppe/src/IceE/LocalException.cpp @@ -1502,13 +1502,13 @@ Ice::MemoryLimitException::ice_throw() const void Ice::throwMemoryLimitException(const char* file, int line) { - throw MemoryLimitException(file, line); + throw MemoryLimitException(file, line); } void Ice::throwUnmarshalOutOfBoundsException(const char* file, int line) { - throw MarshalException(file, line, "out of bounds during unmarshaling"); + throw MarshalException(file, line, "out of bounds during unmarshaling"); } void @@ -1644,8 +1644,8 @@ Ice::UnknownException::toString() const out += ":\nunknown exception"; if(!unknown.empty()) { - out += ":\n"; - out += unknown; + out += ":\n"; + out += unknown; } return out; } @@ -1657,8 +1657,8 @@ Ice::UnknownLocalException::toString() const out += ":\nunknown local exception"; if(!unknown.empty()) { - out += ":\n"; - out += unknown; + out += ":\n"; + out += unknown; } return out; } @@ -1670,8 +1670,8 @@ Ice::UnknownUserException::toString() const out += ":\nunknown user exception"; if(!unknown.empty()) { - out += ":\n"; - out += unknown; + out += ":\n"; + out += unknown; } return out; } @@ -1814,7 +1814,7 @@ Ice::SyscallException::toString() const if(error != 0) { out += ":\nsyscall exception: "; - out += errorToString(error); + out += errorToString(error); } return out; } @@ -1842,9 +1842,9 @@ Ice::FileException::toString() const { - out += "\npath: "; + out += "\npath: "; - out += path; + out += path; } @@ -1877,11 +1877,11 @@ Ice::ConnectionLostException::toString() const out += ":\nconnection lost: "; if(error == 0) { - out += "recv() returned zero"; + out += "recv() returned zero"; } else { - out += errorToString(error); + out += errorToString(error); } return out; } @@ -1928,11 +1928,11 @@ Ice::ProtocolException::toString() const out += ":\nprotocol error: "; if(!reason.empty()) { - out += reason; + out += reason; } else { - out += "unknown protocol exception"; + out += "unknown protocol exception"; } return out; } @@ -1973,8 +1973,8 @@ Ice::MarshalException::toString() const out += ":\nprotocol error: error during marshaling or unmarshaling"; if(!reason.empty()) { - out += ":\n"; - out += reason; + out += ":\n"; + out += reason; } return out; } |