Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.temp.shared.utils;

/**
 * An Interface to unify the way we expose unexpected errors.
 *
 * @author georgs
 */
public interface SystemErrorReporter {
    /**
     * Report a System Error to the User and possibly log it to the server.
     * <p/>
     * The source can be used to bundle the exceptions.  e.g. 5 exceptions thrown from the same source should be shown as a group!
     * <p/>
     * Note: 'context' or 'caught' will NOT be null!
     *
     * @param source    - The "source" of the Error (!nullable)
     * @param context   - What ever context the developer thought would add value
     *                  (nullable)
     * @param throwable - The actual exception that generated the call to this method
     *                  (!nullable)
     */
    void reportSystemError( String source, String context, Throwable throwable );
}

Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/shared/utils/SystemErrorReporter.java

Diff revisions: vs.
Revision Author Commited Message
948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

626 GeorgeS picture GeorgeS Wed 11 Apr, 2012 19:39:41 +0000