Add an UnsupportedTabException exception class
This class makes easier for LinkHandlerFactory implementations to declare an UnsupportedOperationException.
This commit is contained in:
parent
76fb9dcdd7
commit
de823a6b68
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue