Class InvalidStringFormatException

  • All Implemented Interfaces:
    Serializable

    public class InvalidStringFormatException
    extends IllegalArgumentException
    Thrown to indicate that a method has been given a String that is formatted in an inappropriate/unexpected way. For example, a String that is expected to adhere to a specific regular expression (but does not adhere to this).
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidStringFormatException

        public InvalidStringFormatException()
        Constructs an InvalidStringFormatException with null as its error detail message.
      • InvalidStringFormatException

        public InvalidStringFormatException​(String message)
      • InvalidStringFormatException

        public InvalidStringFormatException​(String message,
                                            Throwable cause)
      • InvalidStringFormatException

        public InvalidStringFormatException​(Throwable cause)