MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / InvalidFile

Class InvalidFile

src/Exceptions.h:193–205  ·  view source on GitHub ↗

Exception for files that can not be found or opened

Source from the content-addressed store, hash-verified

191
192 /// Exception for files that can not be found or opened
193 class InvalidFile : public FileExceptionBase
194 {
195 public:
196 /**
197 * @brief Constructor
198 *
199 * @param message A message to accompany the exception
200 * @param file_path The input file being processed
201 */
202 InvalidFile(std::string message, std::string file_path)
203 : FileExceptionBase(message, file_path) { }
204 virtual ~InvalidFile() noexcept {}
205 };
206
207 /// Exception when no valid format is found for a file
208 class InvalidFormat : public FileExceptionBase

Callers 10

ChunkReaderMethod · 0.85
WriteHeaderMethod · 0.85
ProfileMethod · 0.85
OpenMethod · 0.85
FFmpegReader.cppFile · 0.85
GetFrameMethod · 0.85
TimelineMethod · 0.85
OpenMethod · 0.85
GetFrameMethod · 0.85
SetJsonValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected