mirror of https://github.com/abpframework/abp.git
8 changed files with 38 additions and 35 deletions
@ -0,0 +1,24 @@ |
|||
using System; |
|||
using System.Runtime.Serialization; |
|||
using JetBrains.Annotations; |
|||
using Volo.Abp; |
|||
using Volo.CmsKit.Tags; |
|||
|
|||
namespace Volo.CmsKit.Pages |
|||
{ |
|||
[Serializable] |
|||
public class PageUrlAlreadyExistException : BusinessException |
|||
{ |
|||
public PageUrlAlreadyExistException([NotNull] string url) |
|||
{ |
|||
Code = CmsKitErrorCodes.Pages.UrlAlreadyExist; |
|||
WithData(nameof(Page.Url), url); |
|||
} |
|||
|
|||
public PageUrlAlreadyExistException(SerializationInfo serializationInfo, StreamingContext context) |
|||
: base(serializationInfo, context) |
|||
{ |
|||
|
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue