//-----------------------------------------------------------------------
//
// Copyright (c) 2010 Deltares. All rights reserved.
//
// B.S.T. The
// tom.the@deltares.nl
// 04-11-2010
// n.a.
//-----------------------------------------------------------------------
using Deltares.Geometry;
using Deltares.Geotechnics;
using Deltares.Geotechnics.SurfaceLines;
namespace Deltares.Dam.Data
{
using System;
using System.Runtime.Serialization;
[Serializable]
public class PointNotExistsException : Exception
{
public PointNotExistsException()
{
}
public PointNotExistsException(string surfaceLineId, CharacteristicPointType pointType, GeometryPoint point, string messageFormat)
: base(string.Format(messageFormat, pointType, point, surfaceLineId))
{
}
public PointNotExistsException(string message)
: base(message)
{
}
public PointNotExistsException(string message, Exception inner)
: base(message, inner)
{
}
protected PointNotExistsException(
SerializationInfo info,
StreamingContext context)
: base(info, context)
{
}
}
}