public boolean isSuccess()
Returns true iff the class Try is a class Try.Failure.
class Try,
class Try.Failurepublic boolean isFailure()
Returns true iff the class Try is a class Try.Success.
class Try,
class Try.Successpublic A getOrThrow()
Returns the value if a class Try.Success otherwise throws the exception if a class Try.Failure.
class Try.Success,
class Try.Failure@NotNull public java.lang.String toString()
@NotNull public java.lang.Throwable getException()
@NotNull public java.lang.Throwable component1()
@NotNull
public net.corda.core.utilities.Try.Failure<A> copy(@NotNull
java.lang.Throwable exception)
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)