Klasse InvalidArgumentException

Alle implementierten Schnittstellen:
Serializable

public final class InvalidArgumentException extends AbstractInvalidArgumentException
Version:
2016-12-01
Autor:
Silvan Wyss
Siehe auch:
  • Konstruktordetails

    • InvalidArgumentException

      protected InvalidArgumentException(Object argument)
      Creates a new InvalidArgumentException for the given argument.
      Parameter:
      argument - - Can be null.
    • InvalidArgumentException

      protected InvalidArgumentException(Object argument, ArgumentNameDto argumentNameDto)
      Creates a new InvalidArgumentException for the given argument and the argumentName of the given argumentNameDto.
      Parameter:
      argument - - Can be null.
      argumentNameDto -
      Löst aus:
      RuntimeException - if the given argumentNameDto is null.
      RuntimeException - if the argumentName of the given argumentNameDto is null or blank.
    • InvalidArgumentException

      protected InvalidArgumentException(Object argument, ErrorPredicateDto errorPredicateDto)
      Creates a new InvalidArgumentException for the given argument and the errorPredicate of the given errorPredicateDto.
      Parameter:
      argument - - Can be null.
      errorPredicateDto -
      Löst aus:
      RuntimeException - if the given errorPredicateDto is null.
      RuntimeException - if the errorPredicate of the given errorPredicateDto is null or blank.
    • InvalidArgumentException

      protected InvalidArgumentException(Object argument, ArgumentNameDto argumentNameDto, ErrorPredicateDto errorPredicateDto)
      Creates a new InvalidArgumentException for the given argument, argumentName and errorPredicate.
      Parameter:
      argument -
      argumentNameDto -
      errorPredicateDto -
      Löst aus:
      RuntimeException - if the given argumentNameDto is null.
      RuntimeException - if the argumentName of the given argumentNameDto is null or blank.
      RuntimeException - if the given errorPredicateDto is null.
      RuntimeException - if the errorPredicate of the given errorPredicateDto is null or blank.
    • InvalidArgumentException

      protected InvalidArgumentException(Object argument, ArgumentNameDto argumentNameDto, ErrorPredicateDto errorPredicateDto, CauseDto causeDto)
      Creates a new InvalidArgumentException for the given argument, argumentName of the given argumentNameDto, errorPredicate of the given errorPredicateDto and cause of the given causeDto.
      Parameter:
      argument - - Can be null.
      argumentNameDto -
      errorPredicateDto -
      causeDto -
      Löst aus:
      RuntimeException - if the given argumentNameDto is null.
      RuntimeException - if the argumentName of the given argumentNameDto is null or blank.
      RuntimeException - if the given errorPredicateDto is null.
      RuntimeException - if the errorPredicate of the given errorPredicateDto is null or blank.
      RuntimeException - if the given causeDto is null.
      RuntimeException - if the cause of the given causeDto is null.
  • Methodendetails