Class InvalidParameterCardinalityException

    • Constructor Detail

      • InvalidParameterCardinalityException

        public InvalidParameterCardinalityException​(String message,
                                                    String parameterName)
        Creates an exception with the specified message and parameter name.
        Parameters:
        message - the detail message, saved for later retrieval by the Throwable.getMessage() method.
        parameterName - the name of the parameter with invalid cardinality.
      • InvalidParameterCardinalityException

        public InvalidParameterCardinalityException​(String message,
                                                    Throwable cause,
                                                    String parameterName)
        Creates an exception with the specified message, cause and parameter name.
        Parameters:
        message - the detail message, saved for later retrieval by the Throwable.getMessage() method.
        cause - the cause, saved for later retrieval by the Throwable.getCause() method.
        parameterName - the name of the parameter with invalid cardinality.
        Since:
        3.1
    • Method Detail

      • getParameterName

        public String getParameterName()
        Returns the name of the parameter with invalid cardinality.
        Returns:
        the name of the parameter with invalid cardinality.