com.streambase.sb

## Class SchemaValidationException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.streambase.sb.StreamBaseException
      - - com.streambase.sb.SchemaValidationException

- All Implemented Interfaces:
    LocatedItem, Serializable

      public class SchemaValidationException
      extends StreamBaseException

  Exception to indicate validation failures
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SchemaValidationException(Location loc, String message, String field)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getField()`

    - ### 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`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface com.streambase.sb.util.LocatedItem

      `getLocation`

- - ### Constructor Detail

    - #### SchemaValidationException

          public SchemaValidationException(Location loc,
                                           String message,
                                           String field)

  - ### Method Detail

    - #### getField

          public String getField()

      Returns:
        the field that caused the error

Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.