goldman.collection
Class AtCapacityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
goldman.collection.AtCapacityException
- All Implemented Interfaces:
- Serializable
public class AtCapacityException
- extends RuntimeException
An AtCapacityException
is thrown when there is an attempt
to insert a new element into a non-elastic collection that is already at its maximum
capacity.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AtCapacityException
public AtCapacityException()
AtCapacityException
public AtCapacityException(int capacity)