edu.wpi.first.wpilibj.util

## Class CheckedAllocationException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - edu.wpi.first.wpilibj.util.CheckedAllocationException

- All Implemented Interfaces:
    java.io.Serializable

      public class CheckedAllocationException
      extends java.lang.Exception

  Exception indicating that the resource is already allocated This is meant to be thrown by the resource class.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CheckedAllocationException(java.lang.String msg)` Create a new CheckedAllocationException.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CheckedAllocationException

          public CheckedAllocationException(java.lang.String msg)

      Create a new CheckedAllocationException.
      Parameters:
        `msg` - the message to attach to the exception