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)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getMessage()  
      T getValue()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MuxError

        protected MuxError​(T value)
    • Method Detail

      • getValue

        public final T getValue()
      • 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