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.util;
006
007/**
008 * Exception indicating that the resource is already allocated This is meant to be thrown by the
009 * resource class.
010 */
011@SuppressWarnings("serial")
012public class CheckedAllocationException extends Exception {
013  /**
014   * Create a new CheckedAllocationException.
015   *
016   * @param msg the message to attach to the exception
017   */
018  public CheckedAllocationException(String msg) {
019    super(msg);
020  }
021}