GSWExceptionPageName is currently only GSWExceptionPage

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18294 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
dwetzel 2003-12-30 22:32:30 +00:00
parent a5ed9358d5
commit 6dbcbb9e9d

View file

@ -810,9 +810,12 @@ int GSWApplicationMain(NSString* applicationClassName,
lifebeatPort:[[self class]lifebeatDestinationPort] lifebeatPort:[[self class]lifebeatDestinationPort]
interval:lifebeatInterval]); interval:lifebeatInterval]);
NSDebugMLLog(@"application",@"_lifebeatThread=%@",_lifebeatThread); NSDebugMLLog(@"application",@"_lifebeatThread=%@",_lifebeatThread);
#warning go only multi-thread if we want this!
[NSThread detachNewThreadSelector:@selector(run:) [NSThread detachNewThreadSelector:@selector(run:)
toTarget:_lifebeatThread toTarget:_lifebeatThread
withObject:nil]; withObject:nil];
}; };
}; };
LOGObjectFnStop(); LOGObjectFnStop();
@ -3503,9 +3506,17 @@ to another instance **/
NSDebugMLog(@"EXCEPTION=%@",anException); NSDebugMLog(@"EXCEPTION=%@",anException);
NS_DURING NS_DURING
{ {
response=[self _handleErrorWithPageNamed:GSWExceptionPageName[GSWebNamingConv] //
// response=[self _handleErrorWithPageNamed:GSWExceptionPageName[GSWebNamingConv]
// exception:anException
// inContext:aContext];
// we have only GSWExceptionPage until now
response=[self _handleErrorWithPageNamed:GSWExceptionPageName[0]
exception:anException exception:anException
inContext:aContext]; inContext:aContext];
} }
NS_HANDLER NS_HANDLER
{ {