velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r530525 - /velocity/engine/trunk/src/java/org/apache/velocity/runtime/log/ServletLogChute.java
Date Thu, 19 Apr 2007 19:14:55 GMT
Author: nbubna
Date: Thu Apr 19 12:14:54 2007
New Revision: 530525

URL: http://svn.apache.org/viewvc?view=rev&rev=530525
Log:
adjust to new package location

Modified:
    velocity/engine/trunk/src/java/org/apache/velocity/runtime/log/ServletLogChute.java

Modified: velocity/engine/trunk/src/java/org/apache/velocity/runtime/log/ServletLogChute.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/java/org/apache/velocity/runtime/log/ServletLogChute.java?view=diff&rev=530525&r1=530524&r2=530525
==============================================================================
--- velocity/engine/trunk/src/java/org/apache/velocity/runtime/log/ServletLogChute.java (original)
+++ velocity/engine/trunk/src/java/org/apache/velocity/runtime/log/ServletLogChute.java Thu
Apr 19 12:14:54 2007
@@ -1,4 +1,4 @@
-package org.apache.velocity.tools.view;
+package org.apache.velocity.runtime.log;
 
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
@@ -22,7 +22,6 @@
 import java.io.StringWriter;
 import java.io.PrintWriter;
 import javax.servlet.ServletContext;
-import org.apache.velocity.runtime.log.LogChute;
 import org.apache.velocity.runtime.RuntimeServices;
 
 /**
@@ -70,7 +69,7 @@
         Object obj = rs.getApplicationAttribute(ServletContext.class.getName());
         if (obj == null)
         {
-            throw new IllegalStateException("Could not retrieve ServletContext from application
attributes!");
+            throw new UnsupportedOperationException("Could not retrieve ServletContext from
application attributes");
         }
         servletContext = (ServletContext)obj;
 



Mime
View raw message