Skip to content

Commit 77dcb17

Browse files
authored
Merge pull request #485 from dylandrush/484_Public_PLCExceptions
Made all exceptions public
2 parents ab3bd87 + 14053e3 commit 77dcb17

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

S7.Net/PLCExceptions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace S7.Net
88
{
9-
internal class WrongNumberOfBytesException : Exception
9+
public class WrongNumberOfBytesException : Exception
1010
{
1111
public WrongNumberOfBytesException() : base()
1212
{
@@ -27,7 +27,7 @@ protected WrongNumberOfBytesException(SerializationInfo info, StreamingContext c
2727
#endif
2828
}
2929

30-
internal class InvalidAddressException : Exception
30+
public class InvalidAddressException : Exception
3131
{
3232
public InvalidAddressException() : base ()
3333
{
@@ -48,7 +48,7 @@ protected InvalidAddressException(SerializationInfo info, StreamingContext conte
4848
#endif
4949
}
5050

51-
internal class InvalidVariableTypeException : Exception
51+
public class InvalidVariableTypeException : Exception
5252
{
5353
public InvalidVariableTypeException() : base()
5454
{
@@ -69,7 +69,7 @@ protected InvalidVariableTypeException(SerializationInfo info, StreamingContext
6969
#endif
7070
}
7171

72-
internal class TPKTInvalidException : Exception
72+
public class TPKTInvalidException : Exception
7373
{
7474
public TPKTInvalidException() : base()
7575
{
@@ -90,7 +90,7 @@ protected TPKTInvalidException(SerializationInfo info, StreamingContext context)
9090
#endif
9191
}
9292

93-
internal class TPDUInvalidException : Exception
93+
public class TPDUInvalidException : Exception
9494
{
9595
public TPDUInvalidException() : base()
9696
{

0 commit comments

Comments
 (0)