Package org.djutils.test
Class ExceptionTest
java.lang.Object
org.djutils.test.ExceptionTest
ExceptionTest has a generic test method for testing an exception with four constructors.
 
Copyright (c) 2024-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
- Author:
 - Alexander Verbraeck, Wouter Schakel
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic voidtestExceptionClass(Class<? extends Exception> clazz) Test exception class on constructors: empty, only message, only Throwable, message and Throwable. 
- 
Method Details
- 
testExceptionClass
Test exception class on constructors: empty, only message, only Throwable, message and Throwable.- Parameters:
 clazz- exception class to test.
 
 -