001// Copyright (c) FIRST and other WPILib contributors.
002// Open Source Software; you can modify and/or share it under the terms of
003// the WPILib BSD license file in the root directory of this project.
004
005package edu.wpi.first.cscore;
006
007/** An exception raised by the camera server. */
008public class VideoException extends RuntimeException {
009  private static final long serialVersionUID = -9155939328084105145L;
010
011  /**
012   * Constructs the exception with the given message.
013   *
014   * @param msg The exception message.
015   */
016  public VideoException(String msg) {
017    super(msg);
018  }
019
020  @Override
021  public String toString() {
022    return "VideoException [" + super.toString() + "]";
023  }
024}