litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/client/nonpublic/LLAlertUnexpectedProblemHandler.java
|
@@ -6,21 +6,17 @@ |
6 |
6 |
|
import org.litesoft.core.util.nonpublic.*; |
7 |
7 |
|
|
8 |
8 |
|
public class LLAlertUnexpectedProblemHandler extends LLAlertUnexpectedExceptionHandler |
9 |
|
- |
implements LLUnexpectedProblemHandler |
10 |
|
- |
{ |
|
9 |
+ |
implements LLUnexpectedProblemHandler { |
11 |
10 |
|
public final void LLhandleNonNull( String pFrom, String pProblemCode, String[] pProblemValues, |
12 |
|
- |
Throwable pException ) |
13 |
|
- |
{ |
|
11 |
+ |
Throwable pException ) { |
14 |
12 |
|
String zFriendlyFrom = deCamelize( pFrom ); |
15 |
13 |
|
String zBody = "There was a problem from:\r\n\r\n " + zFriendlyFrom; |
16 |
14 |
|
StringBuilder zDetail = new StringBuilder(); |
17 |
15 |
|
zDetail.append( "Unexpected Problem from: " ).append( pFrom ).append( "\r\n" ); |
18 |
16 |
|
zDetail.append( "of:\r\n" ).append( pProblemCode ); |
19 |
|
- |
if ( pProblemValues != null ) |
20 |
|
- |
{ |
|
17 |
+ |
if ( pProblemValues != null ) { |
21 |
18 |
|
String zValues = Strings.noEmpty( Objects.toString( pProblemValues, "\r\n" ) ); |
22 |
|
- |
if ( zValues != null ) |
23 |
|
- |
{ |
|
19 |
+ |
if ( zValues != null ) { |
24 |
20 |
|
zDetail.append( "\r\n" ).append( zValues ); |
25 |
21 |
|
} |
26 |
22 |
|
} |