Klasse ExtendedThrownExceptionMediator
java.lang.Object
ch.nolix.core.testing.standardtest.ThrownExceptionMediator
ch.nolix.core.testing.standardtest.ExtendedThrownExceptionMediator
A
ExtendedThrownExceptionMediator is not mutable.- Version:
- 2018-12-09
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibung<E extends Exception>
ThrownExceptionMediatorGenerates an error if the exception of the currentThrownExceptionMediatoris not of the given type.Von Klasse geerbte Methoden ch.nolix.core.testing.standardtest.ThrownExceptionMediator
withMessage, withMessage, withMessageThatMatches, withoutMessage
-
Methodendetails
-
ofType
Generates an error if the exception of the currentThrownExceptionMediatoris not of the given type.- Typparameter:
E- is the givenExceptiontype.- Parameter:
type-- Gibt zurück:
- a new
ThrownExceptionMediatorthat belongs to the test of the currentThrownExceptionMediatorand is for the exception of the currentThrownExceptionMediator. - Löst aus:
ArgumentIsNullException- if the given type is null.
-