java.lang.Object
org.kink_lang.kink.ExceptionHelper
The helper of excetpion vals.
-
Method Summary
Modifier and TypeMethodDescriptionMakes an exception val without chaining.Makes an exception val converted from Java Throwable.
-
Method Details
-
of
Makes an exception val without chaining.- Parameters:
message
- the exception message.traces
- the exception traces.- Returns:
- an exception val without chaining.
-
of
Makes an exception val converted from Java Throwable.- Parameters:
th
- the Java Throwable.- Returns:
- an exception val.
-