2017-01-31 06:29:00 -05:00
|
|
|
package net.filebot;
|
2017-01-25 08:09:51 -05:00
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
public class InvalidResponseException extends IOException {
|
|
|
|
|
|
|
|
public InvalidResponseException(String message, Throwable cause) {
|
|
|
|
super(message, cause);
|
|
|
|
}
|
|
|
|
|
|
|
|
public InvalidResponseException(String message, String content, Throwable cause) {
|
|
|
|
super(String.format("%s: %s: %s\n%s", message, cause.getClass().getSimpleName(), cause.getMessage(), content), cause);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|