openamf/src/java/org/openamf/invoker ServiceInvocationException.java,1.7,1.8

[email protected]
Newsgroups gmane.comp.java.openamf.cvs
Message-ID <[email protected]>
Update of /cvsroot/openamf/openamf/src/java/org/openamf/invoker
In directory sc8-pr-cvs1:/tmp/cvs-serv13706/src/java/org/openamf/invoker

Modified Files:
	ServiceInvocationException.java 
Log Message:
use rootCause to get code, error, and description

Index: ServiceInvocationException.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/invoker/ServiceInvocationException.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ServiceInvocationException.java	6 Jun 2003 02:25:17 -0000	1.7
--- ServiceInvocationException.java	23 Jul 2003 00:17:42 -0000	1.8
***************
*** 50,58 ****
  		}		
  		
! 		amfError.setCode(getErrorValue(cause, "getCode", "SERVER.PROCESSING"));
! 		amfError.setLevel(getErrorValue(cause, "getError", "error"));
  		amfError.setType(rootCause.getClass().toString());
  		amfError.setDetails(stackTraceBuffer.toString());
! 		amfError.setDescription(getErrorValue(cause, "getDescription", rootCause.getMessage()));
  		
  		return amfError;
--- 50,58 ----
  		}		
  		
! 		amfError.setCode(getErrorValue(rootCause, "getCode", "SERVER.PROCESSING"));
! 		amfError.setLevel(getErrorValue(rootCause, "getError", "error"));
  		amfError.setType(rootCause.getClass().toString());
  		amfError.setDetails(stackTraceBuffer.toString());
! 		amfError.setDescription(getErrorValue(rootCause, "getDescription", rootCause.getMessage()));
  		
  		return amfError;




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.