- java.lang.Object
-
- io.axoniq.axonserver.connector.impl.AssertUtils
-
public class AssertUtils extends Object
Utility class to perform assertion on method parameters.- Since:
- 4.5
- Author:
- Allard Buijze
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidassertParameter(boolean condition, String message)Assert that the givenconditionis true, or otherwise throws anIllegalArgumentExceptionwith givenmessage.
-
-
-
Method Detail
-
assertParameter
public static void assertParameter(boolean condition, String message)Assert that the givenconditionis true, or otherwise throws anIllegalArgumentExceptionwith givenmessage.- Parameters:
condition- The condition to validatemessage- The message in the exception
-
-