public class EosioError
extends java.lang.Exception
Constructor and Description |
---|
EosioError()
Create an EosioError with a null message and original exception.
|
EosioError(@NotNull java.lang.Exception exception)
Construct an EosioError with the given original exception.
|
EosioError(@NotNull java.lang.String message)
Construct an EosioError with the given message.
|
EosioError(@NotNull java.lang.String message,
@NotNull java.lang.Exception exception)
Construct an EosioError with the given message and original exception.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.lang.String |
asJsonString()
Construct a JSON formatted string describing the error code and reason.
|
public EosioError()
public EosioError(@NotNull @NotNull java.lang.String message)
message
- - Message text for the exception.public EosioError(@NotNull @NotNull java.lang.String message, @NotNull @NotNull java.lang.Exception exception)
message
- - Message text for the exception.exception
- - Original root exception for the error.public EosioError(@NotNull @NotNull java.lang.Exception exception)
exception
- - Original root exception for the error.