- /**
- * A handler when a recoverable exception was caught by the program.
- *
- * @author niki
- */
- public interface SyserrHandler {
- /**
- * An exception happened, log it.
- *
- * @param e
- * the exception
- * @param showDetails
- * show more details (usually equivalent to the value of
- * DEBUG)
- */
- public void notify(Exception e, boolean showDetails);
- }
-
- /**
- * A handler when a trace message is sent.
- *
- * @author niki
- */
- public interface TraceHandler {
- /**
- * A trace happened, show it.
- * <p>
- * Will only be called if TRACE is true.
- *
- * @param message
- * the trace message
- */
- public void trace(String message);
- }
-