Package com.streambase.sb
Class SchemaUtil.FieldConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.streambase.sb.StreamBaseException
com.streambase.sb.operator.TypecheckException
com.streambase.sb.ApplicationValidationException
com.streambase.sb.SemanticValidationException
com.streambase.sb.SchemaUtil.FieldConflictException
- All Implemented Interfaces:
com.streambase.sb.util.LocatedItem
,Serializable
- Enclosing class:
- com.streambase.sb.SchemaUtil
A SemanticValidationException that also stores the index of the schema that caused it,
when we're computing merges of schemas.
- See Also:
-
Constructor Summary
ConstructorDescriptionFieldConflictException
(com.streambase.sb.util.LocatedItem loc, String msg, int originIndex) Constructor -
Method Summary
Methods inherited from class com.streambase.sb.StreamBaseException
asXmlStringSingle, asXmlStringStrict, asXmlStringStrict, equals, getParams, hashCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FieldConflictException
Constructor- Parameters:
loc
- source locationmsg
- error messageoriginIndex
- conflict at this index
-
-
Method Details
-
getOriginIndex
public int getOriginIndex()- Returns:
- the index of the schema that caused this field conflict
-