- Timestamp:
- 2016-07-22T15:16:54+12:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/ServiceRack.java
r30475 r30616 36 36 import org.w3c.dom.Node; 37 37 import org.w3c.dom.NodeList; 38 39 import java.io.StringWriter; 40 import java.io.PrintWriter; 38 41 39 42 /** … … 294 297 { 295 298 logger.error("Trying to call a processService type method (process" + to + ") on a subclass(" + this.getClass().getName() + "), but an exception happened:" + e.toString(), e); 296 297 error_string.append("Trying to call a processService type method (process" + to + ") on a subclass(" + this.getClass().getName() + "), but an exception happened:" + e.toString()); 299 // for debugging, it's useful to see what's really causing this supposed "invocationTargetException" 300 // When the error message is displayed in the "Net" tab in the browser's web inspector, scroll down to "Caused by" 301 StringWriter errors = new StringWriter(); 302 e.printStackTrace(new PrintWriter(errors)); 303 String errStr = errors.toString(); 304 errStr += XMLConverter.getString(request); 305 306 307 error_string.append("Trying to call a processService type method (process" + to + ") on a subclass(" + this.getClass().getName() + "), but an exception happened:" + e.toString() + "\n" + errStr ); 298 308 } 299 309 }
Note:
See TracChangeset
for help on using the changeset viewer.