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 */
011public class CheckedAllocationException extends Exception {
012  /**
013   * Create a new CheckedAllocationException.
014   *
015   * @param msg the message to attach to the exception
016   */
017  public CheckedAllocationException(String msg) {
018    super(msg);
019  }
020}