Changeset 185 in dev for trunk/abdev/BasicCompiler_Common/src/ClassImpl.cpp
- Timestamp:
- Jun 25, 2007, 4:22:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/ClassImpl.cpp
r184 r185 93 93 const CClass *pInheritsClass = Smoothie::GetMeta().GetClasses().Find(temporary); 94 94 if( !pInheritsClass ){ 95 throw SmoothieException(106,temporary,nowLine);95 SmoothieException::Throw(106,temporary,nowLine); 96 96 return false; 97 97 } … … 109 109 } 110 110 else{ 111 throw SmoothieException(135,NULL,nowLine);111 SmoothieException::Throw(135,NULL,nowLine); 112 112 return false; 113 113 } … … 123 123 const CClass *pObjectClass = Smoothie::GetMeta().GetClasses().Find("Object"); 124 124 if( !pObjectClass ){ 125 throw SmoothieException(106,"Object",i);125 SmoothieException::Throw(106,"Object",i); 126 126 return false; 127 127 } … … 147 147 const CClass *pInheritsClass = Smoothie::GetMeta().GetClasses().Find(temporary); 148 148 if( !pInheritsClass ){ 149 throw SmoothieException(106,temporary,nowLine);149 SmoothieException::Throw(106,temporary,nowLine); 150 150 return false; 151 151 } … … 161 161 } 162 162 else{ 163 throw SmoothieException(135,NULL,nowLine);163 SmoothieException::Throw(135,NULL,nowLine); 164 164 return false; 165 165 } … … 177 177 //ループ継承でないかをチェック 178 178 if(pobj_LoopRefCheck->check(inheritsClass)){ 179 throw SmoothieException(123,inheritsClass.GetName(),nowLine);179 SmoothieException::Throw(123,inheritsClass.GetName(),nowLine); 180 180 return false; 181 181 } … … 239 239 //ループ継承でないかをチェック 240 240 if(pobj_LoopRefCheck->check(inheritsInterface)){ 241 throw SmoothieException(123,inheritsInterface.GetName(),nowLine);241 SmoothieException::Throw(123,inheritsInterface.GetName(),nowLine); 242 242 return false; 243 243 } … … 459 459 if(pMethod->IsAbstract()){ 460 460 extern int cp; 461 throw SmoothieException(300,NULL,cp);461 SmoothieException::Throw(300,NULL,cp); 462 462 463 463 ppsi[i2]=0; … … 532 532 else if( source[i] == 1 && source[i+1] == ESC_ENDNAMESPACE ){ 533 533 if( namespaceScopes.size() <= 0 ){ 534 throw SmoothieException(12, "End Namespace", i );534 SmoothieException::Throw(12, "End Namespace", i ); 535 535 } 536 536 else{ … … 551 551 if( !importedNamespaces.Imports( temporary ) ) 552 552 { 553 throw SmoothieException(64,temporary,i );553 SmoothieException::Throw(64,temporary,i ); 554 554 } 555 555
Note:
See TracChangeset
for help on using the changeset viewer.