001/*----------------------------------------------------------------------------*/
002/* Copyright (c) FIRST 2008-2017. All Rights Reserved.                        */
003/* Open Source Software - may be modified and shared by FRC teams. The code   */
004/* must be accompanied by the FIRST BSD license file in the root directory of */
005/* the project.                                                               */
006/*----------------------------------------------------------------------------*/
007
008package edu.wpi.first.wpilibj.can;
009
010/**
011 * Exception indicating that a CAN driver library entry-point was passed an invalid buffer.
012 * Typically, this is due to a buffer being too small to include the needed safety token.
013 */
014public class CANInvalidBufferException extends RuntimeException {
015  public CANInvalidBufferException() {
016    super();
017  }
018
019  public CANInvalidBufferException(String msg) {
020    super(msg);
021  }
022}