Class SchemaMismatchException

All Implemented Interfaces:
com.streambase.sb.util.LocatedItem, Serializable

public class SchemaMismatchException extends TypecheckException
A schema mismatch happened
See Also:
  • Constructor Details

    • SchemaMismatchException

      public SchemaMismatchException(com.streambase.sb.util.LocatedItem loc, String msg, Schema exp, Schema act)
      Parameters:
      loc - The location
      msg - The short message
      exp - The expected schema
      act - The actual schema
  • Method Details

    • getExpectedSchema

      public Schema getExpectedSchema()
      Returns:
      The expected schema
    • getActualSchema

      public Schema getActualSchema()
      Returns:
      The actual schema
    • getShortMessage

      public String getShortMessage()
      Returns:
      The short message (no schema dump)