Class MismatchedDBRTypeException

  • All Implemented Interfaces:
    Serializable

    public class MismatchedDBRTypeException
    extends IOException
    Thrown when we have a mismatch in what config tells us and what a stream tells us. A mismatch in DBR types can be a problem when transporting data using binary formats which are type sensitive. Rather than silently lose precision, we throw an exception and perhaps ignore the stream.
    Author:
    mshankar
    See Also:
    Serialized Form
    • Method Detail

      • getPvName

        public String getPvName()
        Returns:
        the pvName
      • getConfigDBRType

        public ArchDBRTypes getConfigDBRType()
        Returns:
        the configDBRType
      • getSourceDesc

        public String getSourceDesc()
        Returns:
        the sourceDesc
      • getStreamDBRType

        public ArchDBRTypes getStreamDBRType()
        Returns:
        the streamDBRType