avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: jakarta-avalon-apps/enterprise/orb/src/java/org/apache/orb/CORBA/kernel DefaultLoader.java
Date Thu, 07 Mar 2002 17:31:54 GMT
mcconnell    02/03/07 09:31:54

  Modified:    enterprise/orb/src/java/org/apache/orb/CORBA/kernel
                        DefaultLoader.java
  Log:
  replaced Exception with CascadingExeption
  
  Revision  Changes    Path
  1.5       +2 -4      jakarta-avalon-apps/enterprise/orb/src/java/org/apache/orb/CORBA/kernel/DefaultLoader.java
  
  Index: DefaultLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/enterprise/orb/src/java/org/apache/orb/CORBA/kernel/DefaultLoader.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DefaultLoader.java	2 Mar 2002 17:48:56 -0000	1.4
  +++ DefaultLoader.java	7 Mar 2002 17:31:54 -0000	1.5
  @@ -844,7 +844,7 @@
   			      catch( Exception unknown )
   			      {
   			  	    final String error = "Unexpected exception while creating file:// URL value.";
  -		                throw new Exception( error, unknown );
  +		                throw new CascadingException( error, unknown );
   				}
   			  }
   			  else
  @@ -857,9 +857,7 @@
   			      catch( Exception unknown )
   			      {
   			  	    final String error = "Unexpected exception while creating URL value.";
  -		                throw new Exception( error 
  -					+ "\n" + "cause: " + unknown.getClass().getName() + ", " 
  -					+ "\n" + unknown.getMessage(), unknown );
  +		                throw new CascadingException( error, unknown );
   				}
   			  }
   		    }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message