45 lines
1.5 KiB
D
45 lines
1.5 KiB
D
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
/**
|
|
* Abstract data types whose instances are collections of other objects.
|
|
*
|
|
* Copyright: Eugene Wissner 2016-2017.
|
|
* License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/,
|
|
* Mozilla Public License, v. 2.0).
|
|
* Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner)
|
|
* Source: $(LINK2 https://github.com/caraus-ecms/tanya/blob/master/source/tanya/container/package.d,
|
|
* tanya/container/package.d)
|
|
*/
|
|
module tanya.container;
|
|
|
|
public import tanya.container.array;
|
|
public import tanya.container.buffer;
|
|
public import tanya.container.list;
|
|
public import tanya.container.queue;
|
|
public import tanya.container.set;
|
|
public import tanya.container.string;
|
|
|
|
/**
|
|
* Thrown if $(D_PSYMBOL Set) cannot insert a new element because the container
|
|
* is full.
|
|
*/
|
|
class HashContainerFullException : Exception
|
|
{
|
|
/**
|
|
* Params:
|
|
* msg = The message for the exception.
|
|
* file = The file where the exception occurred.
|
|
* line = The line number where the exception occurred.
|
|
* next = The previous exception in the chain of exceptions, if any.
|
|
*/
|
|
this(string msg,
|
|
string file = __FILE__,
|
|
size_t line = __LINE__,
|
|
Throwable next = null) @nogc @safe pure nothrow
|
|
{
|
|
super(msg, file, line, next);
|
|
}
|
|
}
|