exception.d 903 B

1234567891011121314151617181920212223242526272829303132
  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. /* Copyright Sean Kelly 2005 - 2009.
  10. * Distributed under the Boost Software License, Version 1.0.
  11. * (See accompanying file LICENSE or copy at
  12. * http://www.boost.org/LICENSE_1_0.txt)
  13. */
  14. module core.sync.exception;
  15. /**
  16. * Base class for synchronization errors.
  17. */
  18. class SyncError : Error
  19. {
  20. @safe pure nothrow this(string msg, string file = __FILE__, size_t line = __LINE__, Throwable next = null)
  21. {
  22. super(msg, file, line, next);
  23. }
  24. @safe pure nothrow this(string msg, Throwable next, string file = __FILE__, size_t line = __LINE__)
  25. {
  26. super(msg, file, line, next);
  27. }
  28. }