Class AssertCommons
- java.lang.Object
-
- io.inugami.api.exceptions.asserts.AssertCommons
-
public final class AssertCommons extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static AssertCommonsINSTANCE
-
Constructor Summary
Constructors Constructor Description AssertCommons()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidthrowException(ErrorCode errorCode)voidthrowException(ErrorCode errorCode, String message, Serializable... args)voidthrowException(String message)voidthrowException(List<ErrorCode> errors)
-
-
-
Field Detail
-
INSTANCE
public static final AssertCommons INSTANCE
-
-
Method Detail
-
throwException
public void throwException(String message)
-
throwException
public void throwException(ErrorCode errorCode)
-
throwException
public void throwException(ErrorCode errorCode, String message, Serializable... args)
-
-