You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2004/07/20 20:51:39 UTC

cvs commit: jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/exception JetspeedException.java JetspeedRuntimeException.java

weaver      2004/07/20 11:51:39

  Modified:    jetspeed-api/src/java/org/apache/jetspeed/exception
                        JetspeedException.java
                        JetspeedRuntimeException.java
  Log:
  Switched from nestable exceptions in commons lang to Exception and RuntimeException since
  1.4 supports causes in those classes now.
  
  Revision  Changes    Path
  1.2       +2 -3      jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/exception/JetspeedException.java
  
  Index: JetspeedException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/exception/JetspeedException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JetspeedException.java	5 Jun 2004 00:47:46 -0000	1.1
  +++ JetspeedException.java	20 Jul 2004 18:51:39 -0000	1.2
  @@ -15,7 +15,6 @@
    */
   package org.apache.jetspeed.exception;
   
  -import org.apache.commons.lang.exception.NestableException;
   
   /**
    * Occurs when anything unexpected happens within Jetspeed.Any defined exceptions
  @@ -25,7 +24,7 @@
    * @version $Id$
    **/
   
  -public class JetspeedException extends NestableException 
  +public class JetspeedException extends Exception 
   {
   
       public JetspeedException() 
  
  
  
  1.2       +1 -2      jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/exception/JetspeedRuntimeException.java
  
  Index: JetspeedRuntimeException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/exception/JetspeedRuntimeException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JetspeedRuntimeException.java	5 Jun 2004 00:47:46 -0000	1.1
  +++ JetspeedRuntimeException.java	20 Jul 2004 18:51:39 -0000	1.2
  @@ -15,13 +15,12 @@
    */
   package org.apache.jetspeed.exception;
   
  -import org.apache.commons.lang.exception.NestableRuntimeException;
   
   /**
    * Base exception for all RuntimeExceptions defined within Jetspeed.
    * @author <a href="mailto:weaver@apache.org">Scott T. Weaver</a>
    */
  -public class JetspeedRuntimeException extends NestableRuntimeException
  +public class JetspeedRuntimeException extends RuntimeException
   {
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org