java.lang.Object
org.kink_lang.kink.HostResultCore
org.kink_lang.kink.Val
org.kink_lang.kink.ExceptionVal
- All Implemented Interfaces:
HostResult
An exception val.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionchain
(ExceptionVal tail) Concatenates the chain ofthis
and the chain oftail
.boolean
int
hashCode()
message()
Returns the message.next()
Returns the exception which is next to this in the chain.Convert this exception to Java RuntimeException.toString()
traces()
Returns the traces.Methods inherited from class org.kink_lang.kink.Val
getVar, getVarSymHandleSet, hasVar, identity, makeHostResultCore, setVar
-
Method Details
-
message
Returns the message.- Returns:
- the message.
-
traces
Returns the traces.- Returns:
- the traces.
-
next
Returns the exception which is next to this in the chain.- Returns:
- the exception which is next to this in the chain.
-
chain
Concatenates the chain ofthis
and the chain oftail
.- Parameters:
tail
- the exception of the chain which is will be the tail of the result.- Returns:
- an exception of the concatenated chain.
-
toRuntimeException
Convert this exception to Java RuntimeException.- Returns:
- the converted RuntimeException.
-
toString
-
hashCode
public int hashCode() -
equals
-