Class InvalidIdentifierException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidIdentifierException
    extends java.lang.IllegalArgumentException
    Thrown when the given string identifier doesn't meet some rules.
    Since:
    8.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidIdentifierException​(java.lang.String message, java.lang.String invalidIdentifier)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getInvalidIdentifier()
      Returns the identifier that is invalid.
      • 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

      • InvalidIdentifierException

        public InvalidIdentifierException​(@NotNull
                                          java.lang.String message,
                                          @Nullable
                                          java.lang.String invalidIdentifier)
        Constructor
        Parameters:
        message - error message.
        invalidIdentifier - the identifier that is invalid.
    • Method Detail

      • getInvalidIdentifier

        @Nullable
        public java.lang.String getInvalidIdentifier()
        Returns the identifier that is invalid.
        Returns:
        the invalid identifier.