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.hal.can;
006
007/**
008 * Exception indicating that the Jaguar CAN Driver layer refused to send a restricted message ID to
009 * the CAN bus.
010 */
011public class CANMessageNotAllowedException extends RuntimeException {
012  private static final long serialVersionUID = -638450112427013494L;
013
014  /**
015   * Constructs a new CANMessageNotAllowedException with {@code msg} as its detail message.
016   *
017   * @param msg the message
018   */
019  public CANMessageNotAllowedException(String msg) {
020    super(msg);
021  }
022}