Add an UnsupportedTabException exception class

This class makes easier for LinkHandlerFactory implementations to declare an
UnsupportedOperationException.
This commit is contained in:
AudricV 2023-06-29 18:19:49 +02:00 committed by Stypox
parent 76fb9dcdd7
commit de823a6b68
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -0,0 +1,7 @@
package org.schabi.newpipe.extractor.exceptions;
public final class UnsupportedTabException extends UnsupportedOperationException {
public UnsupportedTabException(final String unsupportedTab) {
super("Unsupported tab " + unsupportedTab);
}
}