Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made all exceptions public #485

Merged
merged 1 commit into from
Jun 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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