Update of /cvsroot/openamf/openamf/src/java/org/openamf/invoker
In directory sc8-pr-cvs1:/tmp/cvs-serv7391/src/java/org/openamf/invoker
Modified Files:
ServiceInvocationException.java AccessDeniedException.java
Log Message:
changed all exception classes so that they now extend common-lang's NestedException
Index: ServiceInvocationException.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/invoker/ServiceInvocationException.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ServiceInvocationException.java 5 Aug 2003 07:41:52 -0000 1.10
--- ServiceInvocationException.java 5 Aug 2003 19:04:25 -0000 1.11
***************
*** 3,6 ****
--- 3,7 ----
import java.lang.reflect.Method;
+ import org.apache.commons.lang.exception.NestableException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
***************
*** 13,17 ****
* @version $Revision$, $Date$
*/
! public class ServiceInvocationException extends Exception {
private static final Log log = LogFactory.getLog(ServiceInvocationException.class);
--- 14,18 ----
* @version $Revision$, $Date$
*/
! public class ServiceInvocationException extends NestableException {
private static final Log log = LogFactory.getLog(ServiceInvocationException.class);
Index: AccessDeniedException.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/invoker/AccessDeniedException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AccessDeniedException.java 5 Aug 2003 07:41:52 -0000 1.2
--- AccessDeniedException.java 5 Aug 2003 19:04:25 -0000 1.3
***************
*** 1,11 ****
package org.openamf.invoker;
/**
! * Exception class for indicationg that a service may not be accessed.
! * @author Richard Kunze
* @version $Revision$, $Date$
*/
! public class AccessDeniedException extends Exception {
!
public AccessDeniedException() {
super();
--- 1,14 ----
package org.openamf.invoker;
+ import org.apache.commons.lang.exception.NestableException;
+
/**
! * Exception class for indicationg that a service may not be accessed.
! * @author Richard Kunze
* @version $Revision$, $Date$
*/
!
! public class AccessDeniedException extends NestableException {
!
public AccessDeniedException() {
super();
-------------------------------------------------------
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
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.