Package com.io7m.cedarbridge.runtime.api

# Interface CBSerializationContextErrorType

All Known Subinterfaces:
  `CBSerializationContextType`

All Known Implementing Classes:
  `CBSerializationContextBSSIO`, `CBSerializationContextSize`

public interface CBSerializationContextErrorType
The serialization context related to errors during serialization.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IOException`
  `errorUnrecognizedVariantCaseClass(Class<?> writer, Class<?> clazz)`
  An unrecognized variant case class was encountered.
  `IOException`
  `errorUnrecognizedVariantIndex(Class<?> reader, int index)`
  An unrecognized variant index was encountered.

- ## Method Details

  - ### errorUnrecognizedVariantIndex

    IOException errorUnrecognizedVariantIndex(Class<?> reader, int index)
    An unrecognized variant index was encountered.
    Parameters:
      `reader` - The class attempting the read
      `index` - The index
    Returns:
      An exception detailing the errors

  - ### errorUnrecognizedVariantCaseClass

    IOException errorUnrecognizedVariantCaseClass(Class<?> writer, Class<?> clazz)
    An unrecognized variant case class was encountered.
    Parameters:
      `writer` - The class attempting the write
      `clazz` - The class
    Returns:
      An exception detailing the errors