ContextSerialize Method |
| Exception | Condition |
|---|---|
| ValueLengthException | Thrown when the length of the tag value is greater than the maximum length or less than the minimum length. |
| ValueRequiredException | Thrown when the tag is required, the minimum length of its value is greater than 0, and the value is the empty string. |
| RequiredTagNotSpecified | Thrown when the tag is required and has a null value. |