Skip to content

Commit de823a6

Browse files
AudricVStypox
authored andcommitted
Add an UnsupportedTabException exception class
This class makes easier for LinkHandlerFactory implementations to declare an UnsupportedOperationException.
1 parent 76fb9dc commit de823a6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package org.schabi.newpipe.extractor.exceptions;
2+
3+
public final class UnsupportedTabException extends UnsupportedOperationException {
4+
public UnsupportedTabException(final String unsupportedTab) {
5+
super("Unsupported tab " + unsupportedTab);
6+
}
7+
}

0 commit comments

Comments
 (0)