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 */ 15 module java.nonstandard.sync.exception; 16 17 version(Tango){ 18 19 public import tango.core.Exception : SyncException; 20 21 } else { // Phobos 22 23 /** 24 * Base class for synchronization exceptions. 25 */ 26 class SyncException : Exception 27 { 28 @safe pure nothrow this(string msg, string file = __FILE__, size_t line = __LINE__, Throwable next = null) 29 { 30 super(msg, file, line, next); 31 } 32 33 @safe pure nothrow this(string msg, Throwable next, string file = __FILE__, size_t line = __LINE__) 34 { 35 super(msg, file, line, next); 36 } 37 } 38 39 }