Class InvalidParameterCardinalityException

    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidParameterCardinalityException​(String message, String parameterName)
      Creates an exception with the specified message and parameter name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getParameterName()
      Returns the name of the parameter with invalid cardinality.
      • Methods inherited from class Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidParameterCardinalityException

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

      • getParameterName

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