Code example for MalformedURLException

Methods: getMessage

0
 
			} catch (FedoraClientException e) {
				throw new RODAServiceException( 
						"Error creating Fedora client - " + e.getMessage(), e);
			} catch (MalformedURLException e) {
				throw new RODAServiceException("Bad URL for Fedora client - " 
						+ e.getMessage(), e);
			} 
 
		} else { 
 
			throw new RODAServiceException( 
					"User credentials are not available."); 
 
		} 
 
		logger.info(getClass().getSimpleName() + " initialised OK");
	} 
 
	/** 
	 * Marks a {@link SIPState} as accepted of rejected.