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/** Exception indicating that the resource is already allocated. */
008@SuppressWarnings("serial")
009public class AllocationException extends RuntimeException {
010  /**
011   * Create a new AllocationException.
012   *
013   * @param msg the message to attach to the exception
014   */
015  public AllocationException(String msg) {
016    super(msg);
017  }
018}