Package io.realm.exceptions
Class RealmFileException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.realm.exceptions.RealmFileException
-
- All Implemented Interfaces:
Serializable
public class RealmFileException extends RuntimeException
Class for reporting problems when accessing the Realm related files.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRealmFileException.KindThe specific kind of thisRealmFileException.
-
Constructor Summary
Constructors Constructor Description RealmFileException(byte value, String message)RealmFileException(RealmFileException.Kind kind, String message)RealmFileException(RealmFileException.Kind kind, String message, Throwable cause)RealmFileException(RealmFileException.Kind kind, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RealmFileException.KindgetKind()Gets thekindof this exception.StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
RealmFileException
public RealmFileException(byte value, String message)
-
RealmFileException
public RealmFileException(RealmFileException.Kind kind, String message)
-
RealmFileException
public RealmFileException(RealmFileException.Kind kind, Throwable cause)
-
RealmFileException
public RealmFileException(RealmFileException.Kind kind, String message, Throwable cause)
-
-