summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-08-18 21:44:36 +0000
committerMark Spruiell <mes@zeroc.com>2003-08-18 21:44:36 +0000
commitf487d3b3f66aabbb35d0d461ff67d69ad7cf78fd (patch)
tree68ac78f8d2d74c55f545e79249c5c28d1f516899 /php/src
parentSunCC fix (diff)
downloadice-f487d3b3f66aabbb35d0d461ff67d69ad7cf78fd.tar.bz2
ice-f487d3b3f66aabbb35d0d461ff67d69ad7cf78fd.tar.xz
ice-f487d3b3f66aabbb35d0d461ff67d69ad7cf78fd.zip
exception cleanup
Diffstat (limited to 'php/src')
-rw-r--r--php/src/ice/profile.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/php/src/ice/profile.cpp b/php/src/ice/profile.cpp
index 695125f850e..54d08fdcfab 100644
--- a/php/src/ice/profile.cpp
+++ b/php/src/ice/profile.cpp
@@ -83,7 +83,11 @@ static const char* _coreTypes =
"define(\"ICE_STRING_VERSION\", \"1.1.0\");\n"
"define(\"ICE_INT_VERSION\", 10100);\n"
"\n"
- "abstract class Ice_LocalException\n"
+ "abstract class Ice_Exception\n"
+ "{\n"
+ "}\n"
+ "\n"
+ "abstract class Ice_LocalException extends Ice_Exception\n"
"{\n"
"}\n"
"\n"
@@ -132,7 +136,7 @@ static const char* _coreTypes =
" var $type;\n"
"}\n"
"\n"
- "abstract class Ice_UserException\n"
+ "abstract class Ice_UserException extends Ice_Exception\n"
"{\n"
"}\n"
"\n"
@@ -827,7 +831,7 @@ IcePHP::CodeVisitor::visitOperation(const Slice::OperationPtr& p)
if(!cl->isInterface())
{
- _out << "abstract public ";
+ _out << "abstract ";
}
_out << "function " << name << '(';
for(Slice::ParamDeclList::const_iterator q = params.begin(); q != params.end(); ++q)