org.activemath.util
Class ExceptionHandler
java.lang.Object
org.activemath.util.ExceptionHandler
public class ExceptionHandler
- extends Object
A group of methods to enhance the report of errors including possibly
emailing some of them.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionHandler
public ExceptionHandler()
criticLog
public static void criticLog(Category cat,
String message,
Throwable ex)
- Sends the error to the log with the priority "critical",
also writes big lines around it so as to mark it as important.
logAndUndressException
public static void logAndUndressException(Category cat,
Priority priority,
String message,
Throwable ex)
- A general routine to report exceptions which are often wrapped.