001 /*----------------------------------------------------------------------------*/ 002 /* Copyright (c) FIRST 2008-2012. 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 008 package edu.wpi.first.wpilibj.can; 009 010 /** 011 * Exception indicating that a CAN driver library entry-point 012 * was passed an invalid buffer. Typically, this is due to a 013 * buffer being too small to include the needed safety token. 014 */ 015 public class CANInvalidBufferException extends RuntimeException { 016 public CANInvalidBufferException() { 017 super(); 018 } 019 }