HAKOM.Serialization.Core.Net.Api.Exceptions Namespace
Contains all exceptions related to serialization and deserialization operations. Every exception in this namespace inherits from SerializationException (which itself derives from HakomException), carries a unique HAKOM error code, and maps to an appropriate HTTP status code.
| Classes | |
|---|---|
| DeserializationFailedException | Thrown when deserialization of an object fails. |
| DoubleParsingFailedException | Thrown when a value could not be parsed into a valid double. |
| DoubleParsingStringNotAllowedException | Thrown when reading a double from a string is disallowed by the number handling settings. |
| MediaTypeCouldNotBeParsedException | Thrown when a media type string cannot be parsed into a valid media type. |
| NoMatchingSerializerFoundException | Thrown when no serializer is registered that can handle the given type. |
| SerializationException | Base class for any exception related to serialization/deserialization. |
| SerializationFailedException | Thrown when serialization of an object fails. |
| SerializationTypeMismatchException | Thrown when the type of the object being serialized or deserialized does not match the expected type. |
| UnsupportedMediaTypeException | Thrown when the media type of a request or response is not supported by any registered serializer. |
Was this page helpful?Thanks for your feedback!