Added own exception FileFormatException
This commit is contained in:
parent
8d85818dae
commit
60bc67a8f5
19
FileFormatException.java
Normal file
19
FileFormatException.java
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
public class FileFormatException extends IOException {
|
||||||
|
public FileFormatException() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public FileFormatException(String message) {
|
||||||
|
super(message);
|
||||||
|
}
|
||||||
|
|
||||||
|
public FileFormatException(String message, Throwable cause) {
|
||||||
|
super(message, cause);
|
||||||
|
}
|
||||||
|
|
||||||
|
public FileFormatException(Throwable cause) {
|
||||||
|
super(cause);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user