Class NpgsqlSafeReadException
- Namespace
- Npgsql.TypeHandling
- Assembly
- Npgsql.dll
Can be thrown by readers to indicate that interpreting the value failed, but the value was read wholly and it is safe to continue reading. Any other exception is assumed to leave the buffer in an unknown position, losing protocol sync and therefore setting the connector to state Broken. Note that an inner exception is mandatory, and will get thrown to the user instead of the NpgsqlSafeReadException.
public class NpgsqlSafeReadException : Exception, ISerializable
- Inheritance
-
NpgsqlSafeReadException
- Implements
- Inherited Members
Constructors
NpgsqlSafeReadException(Exception)
Creates an instance of NpgsqlSafeReadException.
public NpgsqlSafeReadException(Exception innerException)
Parameters
innerException
Exception