You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
717 B
22 lines
717 B
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);
|
|
}
|
|
}
|