Package io.seald.seald_sdk
Class SealdException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class SealdException extends RuntimeException
SealdException represents an error that happened during a Seald operation.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integerstatusprivate final Stringcodeprivate final Stringidprivate final Stringdescriptionprivate final Stringdetailsprivate final Stringrawprivate final StringnativeStackprivate final Stringmessageprivate final Throwablecause
-
Constructor Summary
Constructors Constructor Description SealdException(Throwable originalException)
-
Method Summary
Modifier and Type Method Description final IntegergetStatus()If the error is returned by the Seald server, the HTTP status code. final StringgetCode()The error code, which is a machine-readable string that represents this error. final StringgetId()The error ID, which is a unique string for the precise place this error was thrown from. final StringgetDescription()A human-readable description of the error. final StringgetDetails()Details about the error. final StringgetRaw()The raw underlying error. final StringgetNativeStack()The call stack in Seald native code. StringgetMessage()StringtoString()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SealdException
SealdException(Throwable originalException)
-
-
Method Detail
-
getStatus
final Integer getStatus()
If the error is returned by the Seald server, the HTTP status code.
-
getCode
final String getCode()
The error code, which is a machine-readable string that represents this error.
-
getId
final String getId()
The error ID, which is a unique string for the precise place this error was thrown from.
-
getDescription
final String getDescription()
A human-readable description of the error.
-
getDetails
final String getDetails()
Details about the error.
-
getNativeStack
final String getNativeStack()
The call stack in Seald native code.
-
getMessage
String getMessage()
-
-
-
-