Class StreamConstraintsException

All Implemented Interfaces:
Serializable

public class StreamConstraintsException extends JacksonException
Exception type used to indicate violations of stream constraints (for example StreamReadConstraints) when reading or writing content.
See Also:
  • Constructor Details

    • StreamConstraintsException

      public StreamConstraintsException(String msg)
    • StreamConstraintsException

      public StreamConstraintsException(String msg, TokenStreamLocation loc)