Retrieves the value of this result.
Retrieves the value of this result. If no such result exists an IllegalStateException is thrown.
the value wrapped by this instance if it exists
IllegalStateException
if no such value exists
Does this result contain a value?
Does this result contain a value?
true if this instance wraps a value or exception
true if this instance wraps an exception
Class for wrapping results from Sirius. This is meant to be an easy to use from Java equivalent of the Scala Option class.
This should not be constructed directly, instead use the factory methods
SiriusResult#some()
andSiriusResult#none()