Class SchemaUtil.FieldConflictException

All Implemented Interfaces:
com.streambase.sb.util.LocatedItem, Serializable
Enclosing class:
com.streambase.sb.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:
  • Constructor Details

    • 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 Details

    • getOriginIndex

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