Class IllegalCharacterException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class IllegalCharacterException
    extends java.lang.IllegalArgumentException
    Exception that clarifies an illegal character and expected values.
    See Also:
    Serialized Form
    • Method Summary

      • 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IllegalCharacterException

        public IllegalCharacterException​(byte value)
        Creates a new instance.
        Parameters:
        value - value of the character
      • IllegalCharacterException

        public IllegalCharacterException​(byte value,
                                         java.lang.String expected)
        Creates a new instance.
        Parameters:
        value - value of the character
        expected - definition of expected value(s)