Skip to content

Commit

Permalink
Merge pull request #485 from dylandrush/484_Public_PLCExceptions
Browse files Browse the repository at this point in the history
Made all exceptions public
  • Loading branch information
mycroes authored Jun 19, 2023
2 parents ab3bd87 + 14053e3 commit 77dcb17
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions S7.Net/PLCExceptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace S7.Net
{
internal class WrongNumberOfBytesException : Exception
public class WrongNumberOfBytesException : Exception
{
public WrongNumberOfBytesException() : base()
{
Expand All @@ -27,7 +27,7 @@ protected WrongNumberOfBytesException(SerializationInfo info, StreamingContext c
#endif
}

internal class InvalidAddressException : Exception
public class InvalidAddressException : Exception
{
public InvalidAddressException() : base ()
{
Expand All @@ -48,7 +48,7 @@ protected InvalidAddressException(SerializationInfo info, StreamingContext conte
#endif
}

internal class InvalidVariableTypeException : Exception
public class InvalidVariableTypeException : Exception
{
public InvalidVariableTypeException() : base()
{
Expand All @@ -69,7 +69,7 @@ protected InvalidVariableTypeException(SerializationInfo info, StreamingContext
#endif
}

internal class TPKTInvalidException : Exception
public class TPKTInvalidException : Exception
{
public TPKTInvalidException() : base()
{
Expand All @@ -90,7 +90,7 @@ protected TPKTInvalidException(SerializationInfo info, StreamingContext context)
#endif
}

internal class TPDUInvalidException : Exception
public class TPDUInvalidException : Exception
{
public TPDUInvalidException() : base()
{
Expand Down

0 comments on commit 77dcb17

Please sign in to comment.