1/** 2 * Define base class for synchronization exceptions. 3 * 4 * Copyright: Copyright Sean Kelly 2005 - 2009. 5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) 6 * Authors: Sean Kelly 7 * Source: $(DRUNTIMESRC core/sync/_exception.d) 8 */ 9 10/* Copyright Sean Kelly 2005 - 2009. 11 * Distributed under the Boost Software License, Version 1.0. 12 * (See accompanying file LICENSE or copy at 13 * http://www.boost.org/LICENSE_1_0.txt) 14 */ 15module core.sync.exception; 16 17 18/** 19 * Base class for synchronization errors. 20 */ 21class SyncError : Error 22{ 23 @safe pure nothrow this(string msg, string file = __FILE__, size_t line = __LINE__, Throwable next = null) 24 { 25 super(msg, file, line, next); 26 } 27 28 @safe pure nothrow this(string msg, Throwable next, string file = __FILE__, size_t line = __LINE__) 29 { 30 super(msg, file, line, next); 31 } 32} 33