Class MetadataException
- Namespace
- ROCrates.Exceptions
- Assembly
- ROCrates.Net.dll
An error that should be thrown when something is wrong with an RO-Crate's metadata.
It should be used when the deserialised metadata JSON is invalid,
not when there is an issue reading the ro-crate-metadata.json
file.
public class MetadataException : Exception, ISerializable
- Inheritance
-
MetadataException
- Implements
- Inherited Members
Constructors
MetadataException()
public MetadataException()
MetadataException(SerializationInfo, StreamingContext)
protected MetadataException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfocontext
StreamingContext
MetadataException(string?)
public MetadataException(string? message)
Parameters
message
string
MetadataException(string?, Exception?)
public MetadataException(string? message, Exception? innerException)