Try.Success - corda

corda / net.corda.core.utilities / Try / Success

# Success

`data class Success<out A> : Try<A>`

### Constructors

#### <init> | `Success(value: A)`

### Properties

#### isFailure | Returns `true` iff the Try is a Success. `val isFailure: Boolean`
#### isSuccess | Returns `true` iff the Try is a Failure. `val isSuccess: Boolean`
#### value | `val value: A`

### Functions

#### getOrThrow | Returns the value if a Success otherwise throws the exception if a Failure. `fun getOrThrow(): A`
#### toString | `fun toString(): String`