1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00
filebot/source/net/filebot/InvalidResponseException.java
2017-01-31 19:29:00 +08:00

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);
}
}