From 60bc67a8f509e534890a5a3739081e0720f1c61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9F=D0=BE=D0=BB?= =?UTF-8?q?=D0=B5=D0=B2=D0=BE=D0=B9?= Date: Mon, 5 Dec 2022 22:34:29 +0400 Subject: [PATCH] Added own exception FileFormatException --- FileFormatException.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 FileFormatException.java diff --git a/FileFormatException.java b/FileFormatException.java new file mode 100644 index 0000000..df7b1db --- /dev/null +++ b/FileFormatException.java @@ -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); + } +}