litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/nonpublic/LLAlertUnexpectedExceptionHandler.java
|
@@ -6,18 +6,15 @@ |
6 |
6 |
|
import org.litesoft.commonfoundation.typeutils.*; |
7 |
7 |
|
import org.litesoft.core.util.nonpublic.*; |
8 |
8 |
|
|
9 |
|
- |
public class LLAlertUnexpectedExceptionHandler implements LLUnexpectedExceptionHandler |
10 |
|
- |
{ |
11 |
|
- |
protected String deCamelize( String pFrom ) |
12 |
|
- |
{ |
|
9 |
+ |
public class LLAlertUnexpectedExceptionHandler implements LLUnexpectedExceptionHandler { |
|
10 |
+ |
protected String deCamelize( String pFrom ) { |
13 |
11 |
|
pFrom = "." + pFrom; |
14 |
12 |
|
pFrom = pFrom.substring( pFrom.lastIndexOf( '.' ) + 1 ); |
15 |
13 |
|
return DeCamelizer.resolve( Strings.replace( pFrom, '$', " " ) ); |
16 |
14 |
|
} |
17 |
15 |
|
|
18 |
16 |
|
@Override |
19 |
|
- |
public final void LLhandleNonNull( String pFrom, Throwable pException ) |
20 |
|
- |
{ |
|
17 |
+ |
public final void LLhandleNonNull( String pFrom, Throwable pException ) { |
21 |
18 |
|
String zFriendlyFrom = deCamelize( pFrom ); |
22 |
19 |
|
String zBody = "There was a exception from:\n\n" + // |
23 |
20 |
|
" " + zFriendlyFrom + "\n\n" + // |