From b0ceef3ec991771cb1f4ed640269615b30ee7708 Mon Sep 17 00:00:00 2001 From: thefiddler Date: Wed, 23 Jul 2014 09:05:29 +0200 Subject: [PATCH] [OpenTK] Additional constructor and doc cleanup --- Source/OpenTK/Platform/PlatformException.cs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Source/OpenTK/Platform/PlatformException.cs b/Source/OpenTK/Platform/PlatformException.cs index adea690..37ffe47 100644 --- a/Source/OpenTK/Platform/PlatformException.cs +++ b/Source/OpenTK/Platform/PlatformException.cs @@ -10,10 +10,22 @@ using System; namespace OpenTK { - /// Defines a plaftorm specific exception. + /// + /// Defines a plaftorm-specific exception. + /// public class PlatformException : Exception { - /// Constructs a new PlatformException. - public PlatformException(string s) : base(s) { } + /// + /// Initializes a new instance of the class. + /// + public PlatformException() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// A message explaining the cause for this exception. + public PlatformException(string message) : base(message) { } } } \ No newline at end of file -- 2.7.4