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

MySqlException is not serializable #601

Closed
EranOfer opened this issue Jan 6, 2019 · 1 comment
Closed

MySqlException is not serializable #601

EranOfer opened this issue Jan 6, 2019 · 1 comment
Assignees

Comments

@EranOfer
Copy link

EranOfer commented Jan 6, 2019

MSDN:
"Exception(SerializationInfo, StreamingContext), which is a protected constructor that initializes a new exception object from serialized data. You should implement this constructor if you've chosen to make your exception object serializable"

Could you please make all custom exception serializable?

For example :

internal MySqlException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {}

Thanks in advance

@bgrainger bgrainger self-assigned this Jan 7, 2019
@bgrainger
Copy link
Member

Fixed in 0.49.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants