diff --git a/src/main/java/me/goudham/exception/CannotAccessClipboardException.java b/src/main/java/me/goudham/exception/CannotAccessClipboardException.java new file mode 100644 index 0000000..465351d --- /dev/null +++ b/src/main/java/me/goudham/exception/CannotAccessClipboardException.java @@ -0,0 +1,10 @@ +package me.goudham.exception; + +/** + * Thrown when {@link java.awt.datatransfer.Clipboard} is unavailable to be accessed + */ +public class CannotAccessClipboardException extends Throwable { + public CannotAccessClipboardException(String exceptionMessage) { + super(exceptionMessage); + } +}