openamf/src/java/org/openamf DefaultGateway.java,1.37,1.38
| Newsgroups | gmane.comp.java.openamf.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openamf/openamf/src/java/org/openamf
In directory sc8-pr-cvs1:/tmp/cvs-serv19848/src/java/org/openamf
Modified Files:
DefaultGateway.java
Log Message:
print rootCause if rootCause.message is null
Index: DefaultGateway.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/DefaultGateway.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** DefaultGateway.java 5 Aug 2003 21:00:37 -0000 1.37
--- DefaultGateway.java 7 Aug 2003 22:19:41 -0000 1.38
***************
*** 126,130 ****
} catch (ServiceInvocationException e) {
serviceResult = e.getAMFError();
! log.warn(e.getRootCause().getMessage());
}
return serviceResult;
--- 126,135 ----
} catch (ServiceInvocationException e) {
serviceResult = e.getAMFError();
! Throwable rootCause = e.getRootCause();
! if (rootCause.getMessage() == null) {
! log.warn(rootCause);
! } else {
! log.warn(rootCause.getMessage());
! }
}
return serviceResult;
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01