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