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 a CAN driver library entry-point was passed an invalid buffer.
009 * Typically, this is due to a buffer being too small to include the needed safety token.
010 */
011public class CANInvalidBufferException extends RuntimeException {
012  private static final long serialVersionUID = -7993785672956997939L;
013
014  public CANInvalidBufferException() {
015    super();
016  }
017
018  public CANInvalidBufferException(String msg) {
019    super(msg);
020  }
021}