public final class DNotesError extends Object
DNotesException| Modifier and Type | Field and Description |
|---|---|
static DNotesError |
DATABASE_NO_ACCESS
error: no access to database.
|
static DNotesError |
DATABASE_NOT_FOUND
error: database not found.
|
static DNotesError |
GENERAL_ERROR
error: general error.
|
| Constructor and Description |
|---|
DNotesError(int theId)
Private Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
static String |
getMessage(DNotesError e)
Returns a message for a given error.
|
int |
hashCode() |
String |
toString() |
public static final DNotesError GENERAL_ERROR
public static final DNotesError DATABASE_NOT_FOUND
public static final DNotesError DATABASE_NO_ACCESS
public DNotesError(int theId)
theId - the error codepublic boolean equals(Object object)
equals in class Objectobject - the reference object with which to compare.true if this object is the same as the object
argument; false otherwise.Object.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()public static String getMessage(DNotesError e)
e - an errorCopyright © 2005–2020. All rights reserved.