feat(api): fully support range requests on backend
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.ddf.vodsystem.exceptions;
|
||||
|
||||
public class ClipMediaUnavailable extends RuntimeException {
|
||||
private final Long clipId;
|
||||
|
||||
public ClipMediaUnavailable(Long clipId, String message) {
|
||||
this(clipId, message, null);
|
||||
}
|
||||
|
||||
public ClipMediaUnavailable(Long clipId, String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.clipId = clipId;
|
||||
}
|
||||
|
||||
public Long getClipId() {
|
||||
return clipId;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.ddf.vodsystem.exceptions;
|
||||
|
||||
public class VodMediaUnavailable extends RuntimeException {
|
||||
private final Long vodId;
|
||||
|
||||
public VodMediaUnavailable(Long vodId, String message) {
|
||||
this(vodId, message, null);
|
||||
}
|
||||
|
||||
public VodMediaUnavailable(Long vodId, String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.vodId = vodId;
|
||||
}
|
||||
|
||||
public Long getVodId() {
|
||||
return vodId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user