Class CannotEncodeCharacterException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CannotEncodeCharacterException
    extends JenaException
    Exception to throw when a character cannot be encoded into some context for some reason.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char getBadChar()
      Answer the character that could not be encoded.
      java.lang.String getEncodingContext()
      Answer the name of the context in which the encoding failed.
      • 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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CannotEncodeCharacterException

        public CannotEncodeCharacterException​(char badChar,
                                              java.lang.String encodingContext)
    • Method Detail

      • getBadChar

        public char getBadChar()
        Answer the character that could not be encoded.
      • getEncodingContext

        public java.lang.String getEncodingContext()
        Answer the name of the context in which the encoding failed.