yacy_search_server/source/de/anomic/plasma/cache/UnsupportedProtocolException.java
karlchenofhell 22ee85ca02 - specified exceptions thrown by ResourceInfoFactory and plasmaHTCache.loadResourceInfo()
- caught possible NPE in CacheAdmin_p and added more error-cases
- speeded up deletion of entries in the local crawl queue by crawl profile (it has been noted often that this deletion is slow)
- added a bit javadoc

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3868 6c8d7289-2bf4-0310-a012-ef5d649a1542
2007-06-11 23:33:24 +00:00

22 lines
717 B
Java

package de.anomic.plasma.cache;
/**
* This exception is thrown when a protocol (or a derivative using this protocol) is not
* supported, as is the case in the {@link ResourceInfoFactory}.
* @see package {@link de.anomic.plasma.cache} for all {@link IResourceInfo}s available
*/
public class UnsupportedProtocolException extends Exception {
private static final long serialVersionUID = 1L;
public static final String MESSAGE = "Unsupported protocol error: ";
public UnsupportedProtocolException(String protocol) {
super(MESSAGE + protocol);
}
public UnsupportedProtocolException(String protocol, Throwable cause) {
super(MESSAGE + protocol, cause);
}
}