Class IllegalCharacterException

All Implemented Interfaces:
Serializable

public final class IllegalCharacterException extends IllegalArgumentException
Exception that clarifies an illegal character and expected values.
See Also:
  • Constructor Details

    • IllegalCharacterException

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

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