litesoft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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.
*
* The source can be used to bundle the exceptions. e.g. 5 exceptions thrown from the same source should be shown as a group!
*
* 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);
}
|
Revision |
Author |
Commited |
Message |
626
|
GeorgeS
|
Wed 11 Apr, 2012 19:39:41 +0000 |
|