Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
None
-
0.9.840
-
None
-
N/A
-
N/A
-
Description
Here's an extract from the mailing list:
> > > > * Exception handling is very very poor :-) For example: > > > > > > > > } catch (XWikiException e) { > > > > e.printStackTrace(); > > > > } catch (IOException e) { > > > > e.printStackTrace(); > > > > } > > > In velocity there is no way to catch the exception, so if we send an > > > exception to the page, it brake all the page, so I prefer to not raise > > > the exception. Maybe the best sould be to set a variable with the error > > > and be able to read the list of error. > > Hmm... So you're saying that in all xwiki code we're not handling > > exceptions because of this? I think we should definitely have some > > error page with the description of the error. > No it's not. We don't have defined rules for this. so some code we are > doing like this, some code no. We know we should work on this to > define a generic way to handle this, it's more a time issue.