Skip to content

Commit 7362b41

Browse files
committed
Add NoResultFoundException
1 parent 95b6528 commit 7362b41

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package YouTubeSearchApi.exception;
2+
3+
public class NoResultFoundException extends Exception {
4+
public NoResultFoundException() {
5+
super();
6+
}
7+
8+
public NoResultFoundException(String message) {
9+
super(message);
10+
}
11+
12+
public NoResultFoundException(String message, Throwable cause) {
13+
super(message, cause);
14+
}
15+
16+
public NoResultFoundException(Throwable cause) {
17+
super(cause);
18+
}
19+
20+
protected NoResultFoundException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
21+
super(message, cause, enableSuppression, writableStackTrace);
22+
}
23+
}

0 commit comments

Comments
 (0)