Class SchemaUtil.FieldConflictException

  • All Implemented Interfaces:
    com.streambase.sb.util.LocatedItem, Serializable
    Enclosing class:
    SchemaUtil

    public static class SchemaUtil.FieldConflictException
    extends SemanticValidationException
    A SemanticValidationException that also stores the index of the schema that caused it, when we're computing merges of schemas.
    See Also:
    Serialized Form
    • Constructor Detail

      • FieldConflictException

        public FieldConflictException​(com.streambase.sb.util.LocatedItem loc,
                                      String msg,
                                      int originIndex)
        Constructor
        Parameters:
        loc - source location
        msg - error message
        originIndex - conflict at this index
    • Method Detail

      • getOriginIndex

        public int getOriginIndex()
        Returns:
        the index of the schema that caused this field conflict