Author: markt
Date: Fri Aug 20 15:09:04 2010
New Revision: 987538
URL: http://svn.apache.org/viewvc?rev=987538&view=rev
Log:
Add a message to the exception
Modified:
tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java
Modified: tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java?rev=987538&r1=987537&r2=987538&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java (original)
+++ tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java Fri Aug 20
15:09:04 2010
@@ -688,7 +688,7 @@ public class MBeanFactory {
String defaultHost, String baseDir) throws Exception{
if (!(container instanceof Server)) {
- throw new Exception();
+ throw new Exception("Container not Server");
}
StandardEngine engine = new StandardEngine();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]