inspector-cochise / cochise

An audit tool for the apache webserver assisting on the BSI audit for the apache.
www.inspector-cochise.de
GNU General Public License v3.0
1 stars 0 forks source link

Handle Error Messages #20

Closed inspector-cochise closed 12 years ago

inspector-cochise commented 13 years ago

especially in the html report

the relevant method (to implement) is public void UserCommunicator.reportError(String error)

inspector-cochise commented 12 years ago

this requires a clear distinction between ui and exception handling (when to catch what exception)

inspector-cochise commented 12 years ago

Actually my above comment doesn't really hit the issue. But it shows another problem in error and failure handling. I will open a milestone for the error handling.

inspector-cochise commented 12 years ago

I invented a new method UserCommunicator.reportError(Exception e) It passes the exception to FormattedConsole wich prints it nicely formatted fitting into the indentation schema.

Maybe for now this issue is done. Logfiles would only help for debugging. (Not the user to solve the problem)

For now:

That should have solved this vague issue.