Class ManExceptionUtil
java.lang.Object
manifold.util.ManExceptionUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeExceptionThrows an unchecked exception without having to declare or catch it.
-
Constructor Details
-
ManExceptionUtil
public ManExceptionUtil()
-
-
Method Details
-
unchecked
Throws an unchecked exception without having to declare or catch it.- Parameters:
t- Any exception- Returns:
- The
RuntimeExceptionreturn type is here so you can do this:
throw ManExceptionUtil.uncheck(new SomeException())
-