AddonException

@PublicApi
public class AddonException extends RuntimeException



Represents an unexpected error that occurred within the Meet Add-on's SDK.

Summary

Nested types

Canonical error codes for AddonException.

Public methods

boolean
AddonException.Code

Returns a canonical error code.

Optional<AddonExceptionMetadata>

Returns the AddonExceptionMetadata associated with the exception.

int

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] p)
String

Public fields

code

public final AddonException.Code code

metadata

public final Optional<AddonExceptionMetadatametadata

Public methods

equals

public boolean equals(@Nullable Object object)

getCode

public AddonException.Code getCode()

Returns a canonical error code.

getMetadata

public Optional<AddonExceptionMetadatagetMetadata()

Returns the AddonExceptionMetadata associated with the exception.

Returns an empty Optional if there was no metadata associated with the exception.

hashCode

public int hashCode()