Project

General

Profile

« Previous | Next » 

Revision 8511

Fixed Exception declaration problem

View differences:

SyncAccessPolicy.java
8 8
 *    Authors: Peter Slaughter
9 9
 *
10 10
 *   '$Author$'
11
 *     '$Date:$'
12
 * '$Revision:$'
11
 *     '$Date$'
12
 * '$Revision$'
13 13
 *
14 14
 * This program is free software; you can redistribute it and/or modify
15 15
 * it under the terms of the GNU General Public License as published by
......
104 104
	public List<Identifier> sync(ObjectList objList) throws ServiceFailure,
105 105
			InvalidToken, NotAuthorized, NotFound, NotImplemented,
106 106
			McdbDocNotFoundException, InvalidRequest, VersionMismatch,
107
			NumberFormatException, AccessionNumberException, SQLException {
107
			NumberFormatException, AccessionNumberException, SQLException, Exception {
108 108

  
109 109
		AccessPolicy cnAccessPolicy = null;
110 110
		String guid = null;
......
220 220
			throws NumberFormatException, ServiceFailure, InvalidToken,
221 221
			NotAuthorized, NotFound, NotImplemented, McdbDocNotFoundException,
222 222
			InvalidRequest, VersionMismatch, AccessionNumberException,
223
			SQLException {
223
			SQLException, Exception {
224 224
		List<Identifier> syncedPids = null;
225 225
		ObjectList objList = new ObjectList();
226 226
		SystemMetadata sm = new SystemMetadata();
......
264 264
			NotAuthorized, NotFound, NotImplemented, McdbDocNotFoundException,
265 265
			InvalidRequest, VersionMismatch, NumberFormatException,
266 266
			AccessionNumberException, SQLException, PropertyNotFoundException,
267
			ServiceException {
267
			ServiceException, Exception {
268 268

  
269 269
		// For the following query parameters - null indicates that the query
270 270
		// will not be

Also available in: Unified diff