Class RealmUnavailableException

  • All Implemented Interfaces:
    Serializable

    public class RealmUnavailableException
    extends IOException
    An exception to indicate a general underlying failure of the realm. Realms should only make use of this exception for general failures within the realm such as being unable to communicate with a remote store of users rather than to report errors with a specific authentication request.
    Author:
    Darran Lofthouse
    See Also:
    Serialized Form
    • Constructor Detail

      • RealmUnavailableException

        public RealmUnavailableException()
        Constructs a new RealmUnavailableException instance. The message is left blank (null), and no cause is specified.
      • RealmUnavailableException

        public RealmUnavailableException​(String msg)
        Constructs a new RealmUnavailableException instance with an initial message. No cause is specified.
        Parameters:
        msg - the message
      • RealmUnavailableException

        public RealmUnavailableException​(Throwable cause)
        Constructs a new RealmUnavailableException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this RealmUnavailableException; otherwise the message is left blank (null).
        Parameters:
        cause - the cause
      • RealmUnavailableException

        public RealmUnavailableException​(String msg,
                                         Throwable cause)
        Constructs a new RealmUnavailableException instance with an initial message and cause.
        Parameters:
        msg - the message
        cause - the cause