Package edu.wpi.first.hal.util
Class CheckedAllocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.wpi.first.hal.util.CheckedAllocationException
- All Implemented Interfaces:
Serializable
public class CheckedAllocationException extends 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 Description CheckedAllocationException(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
-
Constructor Details
-
CheckedAllocationException
Create a new CheckedAllocationException.- Parameters:
msg
- the message to attach to the exception
-