Implemented rest of profile methods for IPC

This commit is contained in:
RisaDev
2024-03-18 00:15:03 +03:00
parent 37c2882a98
commit 5b71cd479e
12 changed files with 702 additions and 36 deletions

View File

@@ -0,0 +1,23 @@
using System;
using System.Runtime.Serialization;
namespace CustomizePlus.Profiles.Exceptions;
internal class ActorNotFoundException : ProfileException
{
public ActorNotFoundException()
{
}
public ActorNotFoundException(string? message) : base(message)
{
}
public ActorNotFoundException(string? message, Exception? innerException) : base(message, innerException)
{
}
protected ActorNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Runtime.Serialization;
namespace CustomizePlus.Profiles.Exceptions;
internal class ProfileException : Exception
{
public ProfileException()
{
}
public ProfileException(string? message) : base(message)
{
}
public ProfileException(string? message, Exception? innerException) : base(message, innerException)
{
}
protected ProfileException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace CustomizePlus.Profiles.Exceptions;
internal class ProfileNotFoundException : ProfileException
{
public ProfileNotFoundException()
{
}
public ProfileNotFoundException(string? message) : base(message)
{
}
public ProfileNotFoundException(string? message, Exception? innerException) : base(message, innerException)
{
}
protected ProfileNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
}