Class IllegalContextNameException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IllegalContextNameException
    extends java.lang.IllegalArgumentException
    An IllegalArgumentException that indicates why a context name is illegal.
    Since:
    2.6.0
    See Also:
    IllegalContextNameException.Reason, Serialized Form
    • Constructor Detail

      • IllegalContextNameException

        public IllegalContextNameException​(IllegalContextNameException.Reason reason)
        Constructs an IllegalContextNameException with the given reason.
        Parameters:
        reason - the reason why the name is illegal, must not be null.
      • IllegalContextNameException

        public IllegalContextNameException​(IllegalContextNameException.Reason reason,
                                           java.lang.String message)
        Constructs an IllegalContextNameException with the given reason and message.
        Parameters:
        reason - the reason why the name is illegal, must not be null.
        message - the detail message