Class ArgumentRequiredException

  • All Implemented Interfaces:
    Serializable

    public class ArgumentRequiredException
    extends ApiRuntimeException
    Exception thrown when required argument is missing, status code 400.
    Since:
    1.0
    Version:
    1.0
    Author:
    Karafra
    See Also:
    Serialized Form
    • Constructor Detail

      • ArgumentRequiredException

        public ArgumentRequiredException​(String name)
        Constructor used if only name of argument is known.
        Parameters:
        name - name of argument.
      • ArgumentRequiredException

        public ArgumentRequiredException​(String name,
                                         Class<?> type)
        Constructor used if name and required type is known.
        Parameters:
        name - of argument.
        type - type of argument.