From dfa3874dcf097c6340e564855a7d4e0ded64c58c Mon Sep 17 00:00:00 2001 From: kske Date: Fri, 4 Oct 2019 18:18:00 +0200 Subject: [PATCH] Added ChessException class --- .../kske/chess/exception/ChessException.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/dev/kske/chess/exception/ChessException.java diff --git a/src/dev/kske/chess/exception/ChessException.java b/src/dev/kske/chess/exception/ChessException.java new file mode 100644 index 0000000..2137d96 --- /dev/null +++ b/src/dev/kske/chess/exception/ChessException.java @@ -0,0 +1,24 @@ +package dev.kske.chess.exception; + +/** + * Project: Chess
+ * File: ChessException.java
+ * Created: 22 Sep 2019
+ * Author: Kai S. K. Engelbart + */ +public class ChessException extends Exception { + + private static final long serialVersionUID = -2208596063548245189L; + + public ChessException(String message, Throwable cause) { + super(message, cause); + } + + public ChessException(String message) { + super(message); + } + + public ChessException(Throwable cause) { + super(cause); + } +}