mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-14 05:15:03 -05:00
16 lines
420 B
Java
16 lines
420 B
Java
package net.filebot;
|
|
|
|
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);
|
|
}
|
|
|
|
}
|