Klasse ArgumentHasAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.nolix.core.errorcontrol.invalidargumentexception.InvalidArgumentException
ch.nolix.core.errorcontrol.invalidargumentexception.ArgumentHasAttributeException
- Alle implementierten Schnittstellen:
Serializable
A
ArgumentHasAttributeException
is a InvalidArgumentException
that is supposed to be thrown when a given argument has undesirably a certain
attribute.- Version:
- 2022-01-30
- Autor:
- Silvan Wyss
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungforArgumentAndAttributeName
(Object argument, String attributeName) Von Klasse geerbte Methoden ch.nolix.core.errorcontrol.invalidargumentexception.InvalidArgumentException
forArgument, forArgumentAndErrorPredicate, forArgumentAndErrorPredicateAndCause, forArgumentNameAndArgument, forArgumentNameAndArgumentAndErrorPredicate, getArgumentName, getErrorPredicate, getStoredArgument
Von Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methodendetails
-
forArgumentAndAttributeName
public static ArgumentHasAttributeException forArgumentAndAttributeName(Object argument, String attributeName) - Parameter:
argument
-attributeName
-- Gibt zurück:
- a new
ArgumentHasAttributeException
for the given argument and attributeName. - Löst aus:
IllegalArgumentException
- if the given attributeName is null.IllegalArgumentException
- if the given attributeName is blank.
-