Files
vod-system/src/main/java/com/ddf/vodsystem/exceptions/ClipMediaUnavailable.java
Dylan De Faoite ec9a982fe9
All checks were successful
CI / Maven unit tests (push) Successful in 18s
CI / Build and push images (push) Has been skipped
CI / Deploy to server (push) Has been skipped
docs(docstrings): add docstrings to public method interfaces (#25)
- Resolves #18

Reviewed-on: #25
2026-08-24 16:02:04 +01:00

24 lines
532 B
Java

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;
}
/**
* Returns the ID of the clip whose media was unavailable.
*
* @return the affected clip's ID
*/
public Long getClipId() {
return clipId;
}
}