public class LiveSharingException extends RuntimeException
Represents an unexpected error that occurred within the Live Sharing API.
Nested Class Summary
enum | LiveSharingException.Code | Canonical error codes for
LiveSharingException . |
Public Method Summary
boolean | |
LiveSharingException.Code |
getCode()
Returns a canonical error code.
|
Optional<LiveSharingExceptionMetadata> |
getMetadata()
Returns the
LiveSharingExceptionMetadata associated with the exception.
|
int |
hashCode()
|
Inherited Method Summary
Public Methods
public boolean equals (Object object)
public LiveSharingException.Code getCode ()
Returns a canonical error code.
public Optional<LiveSharingExceptionMetadata> getMetadata ()
Returns the
LiveSharingExceptionMetadata
associated with the exception.
Returns an empty Optional
if there was no metadata associated with the
exception.