Add new exception to be thrown when clipboard isn't available

MYC-Refactor
Hammy 3 years ago
parent 7e0ef573e7
commit 07a33f71b4

@ -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);
}
}
Loading…
Cancel
Save