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