Class InvalidContentException

  • All Implemented Interfaces:
    Serializable

    public class InvalidContentException
    extends RuntimeException
    Indicates that an action was trying to inline code or codes incompatible between themselves. For example the list of the codes provided with a TextFragment.setCodedText() does not match the inline codes in the provided coded text string.
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidContentException

        public InvalidContentException​(String text)
        Creates a new exception with a given text.
        Parameters:
        text - Text to go with the new exception.
      • InvalidContentException

        public InvalidContentException​(Throwable e)
        Creates a new exception with a given parent exception.
        Parameters:
        e - The parent exception.