-
- All Implemented Interfaces:
-
java.io.Serializable
public class SessionError extends Exception
Session error sealed class following the EmotionError pattern.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionError.PermissionDeniedpublic final classSessionError.SensorUnavailablepublic final classSessionError.InvalidStatepublic final classSessionError.LowBatterypublic final classSessionError.OsTerminated
-
Method Summary
Modifier and Type Method Description abstract SessionErrorCodegetCode()ThrowablegetCause()StringgetMessage()-
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, 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
-
-
Method Detail
-
getCode
abstract SessionErrorCode getCode()
-
getMessage
String getMessage()
-
-
-
-