Author: olamy Date: Thu Apr 5 22:35:10 2012 New Revision: 1310112 URL: http://svn.apache.org/viewvc?rev=1310112&view=rev Log: NamingException not throw
Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java?rev=1310112&r1=1310111&r2=1310112&view=diff ============================================================================== --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Thu Apr 5 22:35:10 2012 @@ -393,10 +393,6 @@ public abstract class AbstractRunMojo { throw new MojoExecutionException( e.getMessage(), e ); } - catch ( NamingException e ) - { - throw new MojoExecutionException( e.getMessage(), e ); - } finally { if ( useSeparateTomcatClassLoader ) @@ -429,7 +425,7 @@ public abstract class AbstractRunMojo * @throws MojoExecutionException in case of an error creating the context */ protected Context createContext( Tomcat container ) - throws IOException, MojoExecutionException, ServletException, NamingException + throws IOException, MojoExecutionException, ServletException { String contextPath = getPath(); @@ -704,7 +700,7 @@ public abstract class AbstractRunMojo * @throws MojoExecutionException if the server could not be configured */ private void startContainer() - throws IOException, LifecycleException, MojoExecutionException, ServletException, NamingException + throws IOException, LifecycleException, MojoExecutionException, ServletException { String previousCatalinaBase = System.getProperty( "catalina.base" ); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org