Class MuxError<T extends java.lang.Enum>


  • public abstract class MuxError<T extends java.lang.Enum>
    extends java.lang.Object
    The base error class for the SDK

    Space.Listener has an onError method that receives errors of this type. Doing this (as opposed to exceptions) is necessary due to how asynchronous the code is. You are likely to receive errors quite a while after you started the operations that caused them.

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected MuxError​(T value, boolean fatal)  
    • Constructor Detail

      • MuxError

        protected MuxError​(T value,
                           boolean fatal)
    • Method Detail

      • getValue

        public final T getValue()
      • isFatal

        public final boolean isFatal()
      • getMessage

        public java.lang.String getMessage()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object