Index: src/Common/NetTopologySuite/Triangulate/ConstraintEnforcementException.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/NetTopologySuite/Triangulate/ConstraintEnforcementException.cs (.../ConstraintEnforcementException.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/Common/NetTopologySuite/Triangulate/ConstraintEnforcementException.cs (.../ConstraintEnforcementException.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -16,25 +16,14 @@ /// 1.0 public class ConstraintEnforcementException : ApplicationException { - - //private long serialVersionUID = 386496846550080140L; - - private static String MsgWithCoord(String msg, ICoordinate pt) { - if (pt != null) - return msg + " [ " + WKTWriter.ToPoint(pt) + " ]"; - return msg; - } - private readonly ICoordinate _pt; /// /// Creates a new instance with a given message. /// /// a string public ConstraintEnforcementException(string msg) - : base(msg) - { - } + : base(msg) {} /// /// Creates a new instance with a given message and approximate location. @@ -58,5 +47,16 @@ return _pt; } } + + //private long serialVersionUID = 386496846550080140L; + + private static String MsgWithCoord(String msg, ICoordinate pt) + { + if (pt != null) + { + return msg + " [ " + WKTWriter.ToPoint(pt) + " ]"; + } + return msg; + } } } \ No newline at end of file