You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2001/07/20 14:52:50 UTC
cvs commit: jakarta-slide/src/share/org/apache/slide/common ServiceAccessException.java
juergen 01/07/20 05:52:50
Modified: src/share/org/apache/slide/common
ServiceAccessException.java
Log:
removed the stack trace printlns. the cause is printed a a warning.
Revision Changes Path
1.3 +15 -15 jakarta-slide/src/share/org/apache/slide/common/ServiceAccessException.java
Index: ServiceAccessException.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/ServiceAccessException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ServiceAccessException.java 2000/09/26 02:44:06 1.2
+++ ServiceAccessException.java 2001/07/20 12:52:50 1.3
@@ -1,13 +1,13 @@
/*
- * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/ServiceAccessException.java,v 1.2 2000/09/26 02:44:06 remm Exp $
- * $Revision: 1.2 $
- * $Date: 2000/09/26 02:44:06 $
+ * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/ServiceAccessException.java,v 1.3 2001/07/20 12:52:50 juergen Exp $
+ * $Revision: 1.3 $
+ * $Date: 2001/07/20 12:52:50 $
*
* ====================================================================
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -15,7 +15,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -23,15 +23,15 @@
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
- * any, must include the following acknowlegement:
- * "This product includes software developed by the
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
* 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
- * from this software without prior written permission. For written
+ * from this software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache"
@@ -59,7 +59,7 @@
*
* [Additional notices, if required by prior licensing conditions]
*
- */
+ */
package org.apache.slide.common;
@@ -67,9 +67,9 @@
/**
* Service access exception.
- *
+ *
* @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class ServiceAccessException extends SlideException {
@@ -79,7 +79,7 @@
/**
* Constructor.
- *
+ *
* @param service Service from which the exception was thrown
* @param cause Cause of the exception
*/
@@ -91,15 +91,15 @@
/**
* Constructor.
- *
+ *
* @param service Service from which the exception was thrown
* @param e Exception which is the initial cause of the problem
*/
public ServiceAccessException(Service service, Exception e) {
super(Messages.format
- (ServiceAccessException.class.getName(),
+ (ServiceAccessException.class.getName(),
service, e.getMessage()));
- e.printStackTrace();
+// e.printStackTrace(); removed the stack trace, the message is formatted and printed
}
}