Package io.servicetalk.utils.internal
Class IllegalCharacterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
io.servicetalk.utils.internal.IllegalCharacterException
- All Implemented Interfaces:
Serializable
Exception that clarifies an illegal character and expected values.
- See Also:
-
Constructor Summary
ConstructorDescriptionIllegalCharacterException
(byte value) Creates a new instance.IllegalCharacterException
(byte value, String expected) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalCharacterException
public IllegalCharacterException(byte value) Creates a new instance.- Parameters:
value
- value of the character
-
IllegalCharacterException
Creates a new instance.- Parameters:
value
- value of the characterexpected
- definition of expected value(s)
-