Klasse ArgumentBelongsToParentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.nolix.core.errorcontrol.invalidargumentexception.AbstractInvalidArgumentException
ch.nolix.core.errorcontrol.invalidargumentexception.ArgumentBelongsToParentException
- Alle implementierten Schnittstellen:
Serializable
A
ArgumentBelongsToParentException
is a
AbstractInvalidArgumentException
that is supposed to be thrown when a
given argument belongs undesirably to a parent.- Version:
- 2019-10-01
- Autor:
- Silvan Wyss
- Siehe auch:
-
Methodenübersicht
Von Klasse geerbte Methoden ch.nolix.core.errorcontrol.invalidargumentexception.AbstractInvalidArgumentException
getArgumentName, getErrorPredicate, getStoredArgument
Von Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methodendetails
-
forArgumentAndParent
- Parameter:
argument
- - Can be null.parent
-- Gibt zurück:
- a new
ArgumentBelongsToParentException
for the given argument and parent. - Löst aus:
RuntimeException
- if the given parent is null.
-