Project

General

Profile

« Previous | Next » 

Revision 9538

Added by Jing Tao almost 9 years ago

Add code to print the the stack trace on the getPackage method in order to help us to identity some tmp file issues.

View differences:

src/edu/ucsb/nceas/metacat/dataone/MNodeService.java
2445 2445
			
2446 2446
		} catch (IOException e) {
2447 2447
			// report as service failure
2448
		    e.printStackTrace();
2448 2449
			ServiceFailure sf = new ServiceFailure("1030", e.getMessage());
2449 2450
			sf.initCause(e);
2450 2451
			throw sf;
2451 2452
		} catch (OREException e) {
2452 2453
			// report as service failure
2454
		    e.printStackTrace();
2453 2455
			ServiceFailure sf = new ServiceFailure("1030", e.getMessage());
2454 2456
			sf.initCause(e);
2455 2457
			throw sf;
2456 2458
		} catch (URISyntaxException e) {
2457 2459
			// report as service failure
2460
		    e.printStackTrace();
2458 2461
			ServiceFailure sf = new ServiceFailure("1030", e.getMessage());
2459 2462
			sf.initCause(e);
2460 2463
			throw sf;
2461 2464
		} catch (OREParserException e) {
2462 2465
			// report as service failure
2466
		    e.printStackTrace();
2463 2467
			ServiceFailure sf = new ServiceFailure("1030", e.getMessage());
2464 2468
			sf.initCause(e);
2465 2469
			throw sf;

Also available in: Unified diff