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-excalibur/assembly/src/java/org/apache/excalibur/merlin Main.java DefaultController.java
Date Tue, 16 Jul 2002 08:57:19 GMT
mcconnell    2002/07/16 01:57:19

  Modified:    assembly/src/java/org/apache/excalibur/merlin Main.java
                        DefaultController.java
  Log:
  added error trap
  
  Revision  Changes    Path
  1.7       +3 -3      jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/Main.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Main.java	13 Jul 2002 00:29:15 -0000	1.6
  +++ Main.java	16 Jul 2002 08:57:18 -0000	1.7
  @@ -209,8 +209,8 @@
           }
           catch( Throwable e )
           {
  -            System.out.println("Controller deployment failure.");
  -            e.printStackTrace();
  +            final String error = "Controller deployment failure.";
  +            System.out.println( error + "\n" + ExceptionUtil.printStackTrace( e ) );
               controller.dispose();
           }
       }
  
  
  
  1.3       +3 -3      jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/DefaultController.java
  
  Index: DefaultController.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/DefaultController.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DefaultController.java	15 Jul 2002 02:12:24 -0000	1.2
  +++ DefaultController.java	16 Jul 2002 08:57:18 -0000	1.3
  @@ -138,7 +138,7 @@
           }
           catch( Throwable e )
           {
  -            final String error = "Controller model internalization failure.";
  +            final String error = "Controller bootstrap failure.";
               throw new ControllerException( error, e );
           }
   
  @@ -201,7 +201,7 @@
           catch( Throwable e )
           {
               installer = null;
  -            final String error = "Model installation failure.";
  +            final String error = "Installer deployment failure.";
               throw new ControllerException( error, e );
           }
   
  
  
  

--
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