Skip to content

Commit 4b910af

Browse files
committed
add standard ctor overloads
1 parent 45a66f1 commit 4b910af

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi/CommandOperationNotSupportedException.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,18 @@
55
namespace Smdn.Reflection.ReverseGenerating.ListApi;
66

77
public class CommandOperationNotSupportedException : NotSupportedException {
8-
public CommandOperationNotSupportedException(string message)
8+
public CommandOperationNotSupportedException()
9+
: base()
10+
{
11+
}
12+
13+
public CommandOperationNotSupportedException(string? message)
914
: base(message)
1015
{
1116
}
17+
18+
public CommandOperationNotSupportedException(string? message, Exception? innerException)
19+
: base(message, innerException)
20+
{
21+
}
1222
}

src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi/InvalidCommanOperationException.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,18 @@
55
namespace Smdn.Reflection.ReverseGenerating.ListApi;
66

77
public class InvalidCommandOperationException : InvalidOperationException {
8-
public InvalidCommandOperationException(string message)
8+
public InvalidCommandOperationException()
9+
: base()
10+
{
11+
}
12+
13+
public InvalidCommandOperationException(string? message)
914
: base(message)
1015
{
1116
}
17+
18+
public InvalidCommandOperationException(string? message, Exception? innerException)
19+
: base(message, innerException)
20+
{
21+
}
1222
}

0 commit comments

Comments
 (0)